+ - 0:00:00
Notes for current slide
Notes for next slide

Enhancing graphics

Session 14

PMAP 8921: Data Visualization with R
Andrew Young School of Policy Studies
Summer 2021

1 / 6

Typical publication workflow

Create plot in R and ggplot2

2 / 6

Typical publication workflow

Create plot in R and ggplot2

Export plot as a vector

2 / 6

Typical publication workflow

Create plot in R and ggplot2

Export plot as a vector

Edit the vector in an external program
to make it match in-house style
(or just be fancy and well-designed in general)

2 / 6

Typical publication workflow

Create plot in R and ggplot2

Export plot as a vector

Edit the vector in an external program
to make it match in-house style
(or just be fancy and well-designed in general)

or

2 / 6

Typical publication workflow

Create plot in R and ggplot2

Export plot as a vector

Edit the vector in an external program
to make it match in-house style
(or just be fancy and well-designed in general)

or

Extract parts of the vector for use in Javascript for interactivity

2 / 6

In-house styles

FiveThirtyEight graph of catcher hitting trends
3 / 6

In-house styles

FiveThirtyEight graph of catcher hitting trends
NYT graph of undercounted COVID-19 deaths
3 / 6

Hot dogs

Hot Dog Eating Contest
4 / 6

This is all changing though!

This was made 100% in R and ggplot!

CO2 emissions rankings
5 / 6

The way of the future

patchwork and ggtext
are removing the need to edit
graphs by hand in Illustrator

6 / 6

The way of the future

patchwork and ggtext
are removing the need to edit
graphs by hand in Illustrator

You can replicate an entire in-house graphic style with R alone nowadays

6 / 6

The way of the future

patchwork and ggtext
are removing the need to edit
graphs by hand in Illustrator

You can replicate an entire in-house graphic style with R alone nowadays

Interactivity not quite at the same level,
but it's getting there with plotly

6 / 6

Typical publication workflow

Create plot in R and ggplot2

2 / 6
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
oTile View: Overview of Slides
Esc Back to slideshow