Chapter 2 Formatting plots with pubtheme
The plots in these notes use the package pubtheme
, which contains a ggplot
theme theme_pub
and a helper function pub
for creating data journalism-style data visualizations with color palettes and formatting similar to those used by media organizations like BBC, NY Times, and ESPN. Several templates for scatter plot, line plots, etc., are provided for easy copying/pasting at the package’s Github page, https://github.com/bmacGTPM/pubtheme. Installation instructions are at that page as well.