This site has links to all the course materials associated with the workshop on “Data visualisation in R, from ggplot2 to gganimate” as part of the 2019 satRday in Johannesburg meeting. It’s intended to be a hands on workshop will provide an introduction to data visualisation in R. The core of the workshop will focus on creating clean data visualisations with ggplot2, and turning them into animations with gganimate. The workshop is aimed at a beginner to intermediate level. Some prior familiarity with tidyverse would be helpful but not assumed.

Package dependencies

Participants will need a recent installation of R and RStudio. The package dependencies are listed below, all of which should be available on CRAN. To verify that you have them installed you can run the following:

library(tidyverse)
library(here)
library(hexbin)
library(gganimate)
library(sf)
library(usethis)
library(scico)
library(scales)

Course materials

The almost-finished course materials can be downloaded as a zip file here, or alternatively to download them directly within R and automatically open the correct project file:

# install.packages(usethis) 
usethis::use_course("https://djnavarro.github.io/satrdayjoburg/datavis.zip")

Slides

The (not quite complete) slides for the workshop are here.


—-             —-