特别感谢:1.【张天旭】的D3API汉化说明,已被引用到官方网站;
2.【馒头华华】提供的ourd3js.com上提供的学习系列教程,让我们这些新人起码有了一个方向。
不得不说,学习国外的新技术真的是一个很艰苦的过程。
在学习D3绘制地图的过程中,有朋友建议看一下其中投影的说明比较好,于是,凭借我这半吊子不到的英文水平,大致给翻译了下来,仅供参考:
原文链接:https://githu...
分类:
Web程序 时间:
2015-06-04 15:49:20
阅读次数:
505
how to used3.maxto normalize your dataset visually within the specific bounds of a variable domain.
分类:
其他好文 时间:
2015-06-03 23:25:57
阅读次数:
161
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...
分类:
其他好文 时间:
2015-06-03 23:17:59
阅读次数:
177
# d3.max```js var xScale = d3.scale.ordinal() .domain(dataset) .rangeBands([0,w],0.3, 0.1);```### use:```js .attr('width',...
分类:
其他好文 时间:
2015-06-03 23:17:45
阅读次数:
236
一、和其他D3类一样,layout 可以链式传递,使用简明的申明添加多种自定义设置。二、API#d3.layout.cluster()Creates a new cluster layout with the default settings: the default sort order is n...
分类:
其他好文 时间:
2015-06-02 09:14:38
阅读次数:
129
http://www.36dsj.com/archives/28060 流程图 graphiz 自动化布局拓扑图 d3 sigma.jsCola.js是一个开源的JavaScript库,使用基于约束的优化技术的排列HTML5文档和图表。它和D3.js 和svg.js配合使用会更好。核心布局是基于C ...
分类:
其他好文 时间:
2015-06-01 18:33:12
阅读次数:
108
调用代码: var parseDate = d3.time.format('%Y-%m-%d').parse;但是看debugger里d3.time.format的显示却是这样的:只用看这个很简单的例子就明白了。另外,function本身也可以挂其他的attribute,该attribute也可以是...
分类:
其他好文 时间:
2015-05-31 21:27:41
阅读次数:
125
finally still call standard method:记得我们在jquery里面得到一个元素要比直接使用javascript中的document.getElementById()等方法好用多了。随着现在浏览器的发展,目前几乎主流浏览器均支持了他们。包括 IE8(含) 以上版本、 Fi...
分类:
其他好文 时间:
2015-05-31 20:05:14
阅读次数:
132