Fill in the blank: When using the least squares method, the line of best fit is the line that _______.

A. minimizes the total area of the error squares on the scatterplot
B. minimizes the sum of the squared deviations of the data points from the line
C. both A and B
D. none of the above

C. both A and B