D3.js 3.3 发布了,D3 是最流行的可视化库之一,它被很多其他的表格插件所使用。它允许绑定任意数据到DOM,然后将数据驱动转换应用到Document中。你可以使用它用一个数组创建基本的HMTL表格,或是利用它的流体过度和交互,用相似的数据创建惊人的SVG条形图。
改进记录包括:
- Add selection.interrupt for immediately interrupting the current transition.
- Add brush.event for programmatic brushing, including transitions (e.g., 1 2).
- Add zoom.event for programmatic zooming, including transitions (e.g., 1 2 3 4 5).
- Add d3.interpolateZoom for smooth zooming based on van Wijk & Nuij (e.g., 1 2).
- Add zoom.center to control over focal point while mousewheel zooming (e.g., 1).
- Add “zoomstart” and “zoomend” events to zoom.on.
- Add d3.geo.transform to simplify creating custom geometry transforms (e.g., 1 2).
- Add d3.geo.clipExtent for viewport clipping with custom transforms (e.g., 1).
- Allow d3.geo.stream to stream three-dimensional coordinates; useful for dynamic simplification.
- Add “beforesend” event to xhr.on to manipulate the request before sending.
- Add axis.innerTickSize and axis.outerTickSize; deprecates multi-argument axis.tickSize.
- Add d3.pairs for constructing tuples of adjacent elements.
- On quantitative scales, including time scales,
scale.ticks()
is now equivalent toscale.ticks(10)
. - On quantitative scales, including time scales,
scale.nice()
is now equivalent toscale.nice(10)
. - On time scales,
scale.nice(count)
andscale.nice(interval, skip)
are now supported. - On time scales,
scale.ticks(interval)
is now favored overscale.ticks(range)
. - Fix transition “end” events such that they are fired before transition cleanup, for easier chaining.
- Fix transition submillisecond timing to improve synchronization of long-running transition chains.
- Fix subpixel-precision brush extent when set programmatically.
- Disable axis.tickSubdivide; use post-selection and multiple axes instead.
- Disable webkit-tap-highlight-color when using the brush.
- Escape non-ascii character in d3.v3.min.js.