block by bill-kidwell 9e550945410a684c5eecfd25f2e19793

v4 curve interpolation comparison

Full Screen

This bl.ock demonstrates the range of interpolation curves available in v4 of d3.js.

You can click on any of the legend labels to toggle visibility of the lines.

Details of the curve can be found on the D3 wiki.

forked from Tom Shanley‘s block: v4 curve interpolation comparison. Added Bundle and Natural as interpolation examples. Reverted to opacity of zero when deselected.

This graph is part of the code samples for the update to the book D3 Tips and Tricks to version 4 of d3.js.

forked from d3noob‘s block: v4 curve interpolation comparison to change the legend behaviour fade if line’s faded, and added css pointer.

forked from tomshanley‘s block: v4 curve interpolation comparison

index.html

data-3.csv