This applet demonstrates interpolation using cubic splines.
You can drag the points on the x-axis to change the abscissas(x coordinates), and drag the points on the curve to change the ordinates(y coordinates).
Lagrange Interpolation Applet