Customize your plots
This tutorial will teach you how to customize the look and feel of your plots. You will learn how to:
- Zoom in on areas of interest
- Add labels and annotations to your plots
- Change the appearance of your plot with a theme
- Use scales to select custom color palettes
- Modify the labels, title, and position of legends
The tutorial is adapted from R for Data Science by Hadley Wickham and Garrett Grolemund, published by O’Reilly Media, Inc., 2016, ISBN: 9781491910399. You can purchase the book at shop.oreilly.com.
The tutorial uses the {ggplot2}, {dplyr}, {scales}, {ggthemes}, and {viridis} packages, which have been pre-loaded for your convenience.