1. Learn
  2. /
  3. Courses
  4. /
  5. Analyzing US Census Data in R

Exercise

Plotting simple features with geom_sf()

The newest version of ggplot2 includes a geom_sf() function to plot simple features objects natively. This allows you to make maps using familiar ggplot2 syntax! In this exercise, you'll walk through the process of creating a map with ggplot2 step-by-step.

Instructions 1/3

undefined XP
    1
    2
    3
  • Use the geom_sf() function to plot the legislative district boundaries you created with the join operation in the previous lesson.