Adding a Touch of glitr: Developing a Package of Themes on Top of ggplot
summary
USAID builds glitr on ggplot2 with extrafont and grDevices, adds a one-line SI_style theme plus nine variants, a scale_fill_SI palette and SI_style_grid, and packages export defaults (size/DPI) and color interpolation; colors are tuned with Adobe Color and vizpalette. Code lives on GitHub, used across a 300-person office and partner missions, cuts repeated hexes and boilerplate, speeds plotting and onboarding, and produces consistent, accessible visuals.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 0:26Repetitive plot customizations
- 1:31Plot element decisions
- 2:13Custom plot refinements
- 3:17Custom fonts in theme
- 4:00Cohesive color palette
- 5:24Expanding package functionality
- 6:27Scale and grid customizations
- 7:30Tool-agnostic style guide
- 8:53Style guide benefits
- 11:43Future visualization framework
- 12:28Q&A
related talks
21mSpruce up your ggplot2 visualizations with formatted text
18mFrom idea to code to image: Creative data visualizations in R
20mSmall Team, Big Value: Using R to Design Visualizations
01h 01m50 ways to show your data
23mBest practices for programming with ggplot2
22mIntroducing the gt package
30mFrom plotting to chart porn - Creating slick charts with Matplotlib
12mGraphite: A Library for Data Visualization
