摘要: 阅读全文
posted @ 2015-06-04 18:49 Zhentiw 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-04 18:39 Zhentiw 阅读(338) 评论(0) 推荐(0) 编辑
摘要: Up until now we've just looked at bar charts. A handy chart, no doubt, but D3 offers a variety of charts you can work with. In this lesson we'll conve... 阅读全文
posted @ 2015-06-04 15:54 Zhentiw 阅读(423) 评论(0) 推荐(0) 编辑
摘要: If you want ot add margins, should appendgraphics container in svg var svg = d3.select('#chartArea').append('svg') .attr('width', w + ma... 阅读全文
posted @ 2015-06-04 15:40 Zhentiw 阅读(248) 评论(0) 推荐(0) 编辑
摘要: # Quantitative Scales var colorScale = d3.scale.quantile() .domain([d3.max(dataset) / 4, d3.max(dataset) / 2 , 3*d3.max(dataset) / 4, d3... 阅读全文
posted @ 2015-06-04 15:27 Zhentiw 阅读(329) 评论(0) 推荐(0) 编辑