Read the ODSC blog post.




Workshop details




Setup



1. Head over to GitHub and set up a free account



2. Create your RStudio.Cloud account (also free!)



3. Use your GitHub credentials to log into RStudio.Cloud




Materials

Link to RStudio.Cloud project



Part 1: thinking with graphs

Exploratory data analysis

  • What is it, who does it, and why it’s important

A Bayesian mindset

  • Priors -> new information -> posteriors

The grammar of graphics

  • Layers, aesthetics, and geoms



Part 2: creating graphs with ggplot2

Build labels first

  • Set expectations

Exercises & solutions

Creating graphs

  • Building graphs layer-by-layer, global vs. local mapping, visual encodings

Applying the grammar

  • Mapping vs. setting aesthetics, combining layers, facets




Slides as .pdfs




More Resources