摘要: 阅读全文
posted @ 2015-06-03 22:43 Zhentiw 阅读(874) 评论(0) 推荐(0)
摘要: # d3.max```js var xScale = d3.scale.ordinal() .domain(dataset) .rangeBands([0,w],0.3, 0.1);```### use:```js .attr('width',... 阅读全文
posted @ 2015-06-03 22:27 Zhentiw 阅读(629) 评论(0) 推荐(0)
摘要: how to used3.maxto normalize your dataset visually within the specific bounds of a variable domain. 阅读全文
posted @ 2015-06-03 22:11 Zhentiw 阅读(1064) 评论(0) 推荐(0)
摘要: d3.scale.linear() 阅读全文
posted @ 2015-06-03 22:09 Zhentiw 阅读(292) 评论(0) 推荐(0)
摘要: 1. svg should use 'fill' prop instead 'background-color'2. svg width & height no need 'px'3. attr(function(data_val, index){})4. create svg, d3.select... 阅读全文
posted @ 2015-06-03 22:08 Zhentiw 阅读(205) 评论(0) 推荐(0)