D3.Js v2.8.0 发布,一个基于数据的操作文档的JavaScript库
jopen 8年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/f4ad1061d1155c08c08ae233b22db5ec.png" /></p> <p> </p> <p>D3 的全称是(Data-Driven Documents),顾名思义可以知道是一个被数据驱动的文档。D3.js是一个基于数据的操作文档的JavaScript库,可以让你绑定任何数据到DOM,支持DIV这种图案生成,也支持SVG这种图案的生成。D3帮助你屏蔽了浏览器差异,做出来图案的效果可以说是炫目得一塌糊涂,可是代码却很简洁。</p> <p><img alt="" src="https://simg.open-open.com/show/9b22f13972f1fefbbad0469a1a6053b2.jpg" /></p> <p> </p> <h2>更新日志</h2> <ul> <li>Add selection.datum (deprecating selection.map), which is like selection.data but doesn't compute a data-join; it can be used to get or set the data bound to elements.</li> <li>Brush component can now take decorative resizers.</li> <li>Add d3.map class (similar to ES6's map collection) for easier management of string-value maps; this is used internally by transitions, event listeners, the nest operator, and many other components.</li> <li>Add d3.bisector for bisecting sorted arrays with an accessor.</li> <li>Expose d3.selection.enter.prototype.</li> <li>Generalize d3.svg.mouse to support HTML elements, and renamed to d3.mouse.</li> <li>Add d3.scale.identity.</li> <li>Add axis.tickValues.</li> <li>Rewrite d3.behavior.zoom.</li> <li>Add "start" and "end" events to force layout, along with force.tick and force.alpha for synchronous execution.</li> <li>Add a variety of new time interval methods.</li> </ul> <p> </p> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958993689067198794" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958993689201162415" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p> </p> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/7b83476">http://www.open-open.com/news/view/7b83476</a></p>