D3.Js v2.8.0 發布,一個基于數據的操作文檔的JavaScript庫

jopen 8年前發布 | 8K 次閱讀 D3.Js DIV SVG DOM JavaScript

 

D3 的全稱是(Data-Driven Documents),顧名思義可以知道是一個被數據驅動的文檔。D3.js是一個基于數據的操作文檔的JavaScript庫,可以讓你綁定任何數據到DOM,支持DIV這種圖案生成,也支持SVG這種圖案的生成。D3幫助你屏蔽了瀏覽器差異,做出來圖案的效果可以說是炫目得一塌糊涂,可是代碼卻很簡潔。

 

更新日志

  • 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.
  • Brush component can now take decorative resizers.
  • 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.
  • Add d3.bisector for bisecting sorted arrays with an accessor.
  • Expose d3.selection.enter.prototype.
  • Generalize d3.svg.mouse to support HTML elements, and renamed to d3.mouse.
  • Add d3.scale.identity.
  • Add axis.tickValues.
  • Rewrite d3.behavior.zoom.
  • Add "start" and "end" events to force layout, along with force.tick and force.alpha for synchronous execution.
  • Add a variety of new time interval methods.

 

下載

 

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/7b83476

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!