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

Connected

Exercise

Making a dot-density map with ggplot2

In your final exercise of this course, you are going to put together the datasets you've acquired and generated into a dot-density map with ggplot2. You'll plot your generated dots and ancillary datasets with geom_sf(), and add some informative map elements to create a cartographic product.

Instructions

100 XP
  • Use geom_sf() to plot your simple features objects.
  • Plot water and roads features by specifying the objects you've created appropriately.
  • Use the caption parameter in labs() to give your map an informative caption.