Interactive element. Drag the light grey circles to adjust the linear function. Observe how the fit and the balance of the residuals changes. Reload the page to generate a new set of random samples.