Hours studied vs. test score
Do students who study more get higher scores? Let's look at the data and find out.
We'll plot hours studied across the bottom and test score going up the side.
Each dot is one student — eight students in all.
Look at the cloud of dots. As hours go up, scores generally go up too.
What if we drew this line? Almost every dot sits below it — that's a poor fit.
Let's try a line that cuts right through the middle of the cloud.
About half the dots land above the line and half land below — that's balanced.
This is our line of best fit. It won't hit every dot, but it captures the trend.