LoslegenKostenlos loslegen

Exploratory visualization of house size

Let's create an exploratory visualization of the predictor variable reflecting the size of houses: sqft_living the square footage of living space where 1 sq.foot ≈ 0.1 sq.meter.

After plotting the histogram, what can you say about the distribution of the variable sqft_living?

Diese Übung ist Teil des Kurses

Modeling with Data in the Tidyverse

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Load packages
library(moderndive)
library(ggplot2)

# Plot the histogram
ggplot(house_prices, aes(x = ___)) +
  ___ +
  labs(___, ___)
Code bearbeiten und ausführen