Skip to content
R for the Rest of Us Logo

Mapping with R

34 lessons

ggplot2 Essentials (02_01)

This lesson is locked

Get access to all lessons in this course.

If the video is not playing correctly, you can watch it in a new window


Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Learn More

The {ggplot2} package is incredible for building static data visualizations. As I mention in the video, the only charts you can’t create with it are some dual y-axis charts.

David Robinson is a very popular data scientist who has written a detailed explanation of why he uses (and recommends) {ggplot2}.

In the video I mention that {ggplot2} implements a grammar of graphics. If you’re interested in exactly what that means I recommend this section of the ggplot2 book by Hadley Wickham.

As we progress through this section of the course I’ll pose problems to solve in our charts and which of these components we need to affect:

  • aesthetics

  • geoms (and factors)

  • scales

  • guides

  • themes

At the end of this video I also introduce the {ggspatial} package which is introduced in more detail in the next video and at the end of this section when I show you how to add scale bars to charts.

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.