Package Exports
- d3-shape
- d3-shape/index
- d3-shape/src/line
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (d3-shape) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
d3-shape
…
Installing
If you use NPM, npm install d3-shape. Otherwise, download the latest release.
API Reference
…
Changes from D3 3.x:
The behavior of Cardinal interpolation tension has been fixed. The default tension is now 0 (corresponding to a uniform Catmull–Rom spline), not 0.7; the new value of 0 is equivalent to an old value of 2 / 3, so the default behavior is only slightly changed.
To specify a Cardinal interpolation tension of t, use
line.interpolate("cardinal", t)instead ofline.interpolate("cardinal").tension(t).