Drag the points. Click empty space to add a point. The gray lines are the residuals (each point's error).
Minimizing MSE = maximum likelihood with Gaussian noise (MLE). Raising the degree overfits noisy data; λ (ridge) is a Gaussian prior on the weights → MAP. It's the bias-variance trade-off.