Line Tension
✓ Published0🌍 Public
深深度碎片
Last edited Aug 4, 2016
Created on Aug 4, 2016
The visualization shows how varying line tension affects the shape of a cardinal spline passing through a fixed set of ten data points, with tension values mapped from brown to steelblue. Each curve is rendered as a separate SVG path using `d3.svg.line` with its `tension` method set to a different value, while white circles mark the original data coordinates. The axes are generated with `d3.svg.axis`, and the data is loaded from a TSV file using `d3.tsv`. The tension range is explicitly limited to 2/3 to 1 due to a bug in D3 v3.
AI-generated descriptionforked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/1016220'>Line Tension</a>
gpl-3.0 Licensed