Session Ready
Exercise

Exercise 5. geom_point 1

To create a scatter plot, we add a layer with the function geom_point. The aesthetic mappings require us to define the x-axis and y-axis variables respectively. So the code looks like this:

murders %>% ggplot(aes(x = , y = )) +
  geom_point()

except we have to fill in the blanks to define the two variables x and y.

Instructions
100 XP

Fill out the sample code with the correct variable names to plot total murders versus population size.