Skip to main content
100%

Sankey Interpolation

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Oct 26, 2012

A line chart plots five data points from a CSV file with a custom interpolation method. The `interpolateSankey` function creates a smooth, horizontal-tangent curve between points, mimicking a Sankey diagram's flow aesthetic, while the `d3.svg.line` and `d3.svg.axis` APIs render the SVG path and axes. Data is loaded via `d3.csv` and scaled with `d3.scale.linear`.

AI-generated description

A custom line interpolator with horizontal tangents.

gpl-3.0 Licensed

Similar vizzes