SplineJS

JavaScript library for numerical computation and data plotting.

Demos

d3.js interpolation (Overview of all methods)

X Y

Legend: No interpolation. B-Spline. Bundle. Cardinal. Monotone


B-Spline (d3.js built-in method)

X Y

This example uses d3.js' built-in interpolation and the plot function in Spline. The table is populated with the points used using Spline too.


Cardinal Spline (d3.js built-in method)

X Y

This example uses d3.js' built-in interpolation and the plot function in Spline. The table is populated with the points used using Spline too.