This is an interactive demonstration of Least Square Fit. Left click mouse in the plot area to place points. A minimum of four points are required. Right click mouse to see the Least Square Fit. The value of the integral under the curve is also computed. Repeat choosing points by left clicking mouse, then right click to see the Least Square Fit. Try radical selections of points to understand the behavior of the Least Square Fit. Try various approximation orders. Not that the N/2 order may be more accurate than the N order for computing the integral. The window may be enlarged yet the plot area will not be made smaller than the initial area. See Algorithm to understand the method. See Code to read the Java code. See Options for possible choices.