a line acrossing the price data points

You are correct. And we can draw a line to fit the data points.

The process of drawing a line to fit the data points is called linear regression. (It is basically about soving equations 😂)

And by using the line, we can predict the price of a house in the future.

For example, if we want to predict the price of a house in 2023, we just need to plug in 2023 into the line equation!

Next