随笔分类 -  D3

摘要:# 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 编辑
摘要:# 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 编辑
摘要:how to used3.maxto normalize your dataset visually within the specific bounds of a variable domain. 阅读全文
posted @ 2015-06-03 22:11 Zhentiw 编辑
摘要:d3.scale.linear() 阅读全文
posted @ 2015-06-03 22:09 Zhentiw 编辑
摘要: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 编辑
摘要:Angular Scope & body{ padding-top: 50px; padding-lleft: 100px;}.bar{ display: inline-block; width: 20px; height:... 阅读全文
posted @ 2014-09-03 15:46 Zhentiw 编辑

点击右上角即可分享
微信分享提示