a line acrossing the price data points

You are wrong. But it is totally fine! 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 solving 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!