Exercise

EDA of relationship

Unfortunately, making 3D scatterplots to perform an EDA is beyond the scope of this course. So instead let's focus on making standard 2D scatterplots of the relationship between price and the number of bedrooms, keeping an eye out for outliers.

The log10 transformations have been made for you and are saved in house_prices.

Instructions 1/2

undefined XP
    1
    2

Complete the ggplot() code to create a scatterplot of log10_price over bedrooms along with the best-fitting regression line.