1. Learn
  2. /
  3. Courses
  4. /
  5. Data Science Visualization - Module 2

Exercise

Exercise 6. geom_point 2

Note that if we don't use argument names, we can obtain the same plot by making sure we enter the variable names in the desired order:

murders %>% ggplot(aes(population, total)) +
  geom_point()

Instructions

100 XP

Remake the plot but flip the axes so that total is on the x-axis and population is on the y-axis.