animating_dataviz icon indicating copy to clipboard operation
animating_dataviz copied to clipboard

Materials for a talk about adding animations to R visualizations

Animating Data Visualizations

Hello! This is the complement to my tutorial about generating animated visualizations in R using ggplot2 and gganimate. If you have questions, you can ask me on Twitter- @data_stephanie.

  • To view the presentation, visit https://skirmer.github.io/animation_prez.html and click through.
  • To see the short version that I'm using at DC R Conference 2019, visit https://skirmer.github.io/animation_prez_dc.html
  • To see the underlying code and follow along, use the ioslides_deck.Rmd file in this repo.

Other Examples Using gganimate

  • Multiple animation - Mikey Harper: https://mikeyharper.uk/animated-plots-with-r/

  • GIS - Daniela Vasquez: https://d4tagirl.com/2017/05/how-to-plot-animated-maps-with-gganimate

  • Forecasting

  • Shadowing - Len Kiefer: https://twitter.com/lenkiefer/status/1102274364995719169

  • Model Performance - Dariya Sydykova: https://github.com/dariyasydykova

  • Groups Over Time with Reveal - Jovan Lekovic: https://constantlyplotting.com/

References and Thanks

  • Data Source: UNHCR via data.world: UNHCR's populations of concern residing in South Africa

  • https://gganimate.com/

  • https://ggplot2.tidyverse.org/

  • https://ggforce.data-imaginist.com/

  • https://stackoverflow.com/questions/53162821/animated-sorted-bar-chart-with-bars-overtaking-each-other/53163549 (Hat tip to Jon Spring for this awesome starting point for this kind of thing!)