Polynomial of Best Fit

Drag the points (A, B, C, etc.) anywhere on the coordinate plane to generate a polynomial function of degree n. Move the slider to change the degree n.

How does the position of the points affect the graph of the polynomial function?