发布于 2016-06-29 00:19:43 | 233 次阅读 | 评论: 0 | 来源: 网友投递
D3.js 可视化库
D3 是最流行的可视化库之一,它被很多其他的表格插件所使用。它允许绑定任意数据到DOM,然后将数据驱动转换应用到Document中。你可以使用它用一个数组创建基本的HTML表格,或是利用它的流体过度和交互,用相似的数据创建惊人的SVG条形图。
D3.js 4.0.0 发布,更新如下:
Colors now have opacity (rgba, hsla, etc.).
New sequential color scales, including Viridis and cyclical Rainbow.
New point and band scales replace ordinal.rangeBands and ordinal.rangePoints.
New basis spline interpolators (e.g., continuous ColorBrewer schemes).
Added parameterized Catmull–Rom and natural splines.
New deterministic, extensible velocity Verlet force layout.
New extensible treemap layout; improved squarified treemaps; added binary treemaps.
New d3.stratify for tabular hierarchical data.
New faster, mutable, non-recursive quadtrees.
Voronoi diagrams now expose topological information.
Selections and transitions are now immutable, providing a cleaner interface.
New selection.raise, selection.lower and selection.dispatch methods.
Time is now frozen in the background, avoiding unintended effort.
Timers can now be stopped externally.
Transitions can now interpolate CSS transforms (in addition to SVG transforms).
You can now cancel transitions using selection.interrupt.
Easier transition chaining thanks to new d3.active and changed transition.delay.
Better performance for homogenous transitions (e.g., shared interpolators across elements).
Better state persistence and enforcement for transitions.
Better default axis appearance.
Better brush interaction.
Built-in asynchronous queue for loading files in parallel.
New low-level d3.ticks API.
下载地址: