2. Data Viz

Examples, good and bad. Theory underlying what makes a viz good and bad. Tools to implement viz tasks.

Author
Published

September 4, 2024

Artwork by @allison_horst.

Agenda

August 28, 2024

  1. GitHub
  2. NSSD
  3. Grammar of graphics
  4. ggplot

September 4, 2024

  1. Cholera: what went (didn’t go) well with the graphics?
  2. Challenger: what didn’t go (went) well with the graphics?
  3. Thoughts on plotting (with example(s))

Readings

Reflection questions

  • When creating a graph, try to sketch / image the graph before you code it. What do you want R to do (what is the goal)? In order to do that, what does R need to know?

  • What should the goal of a plot be? What should the goal of your plot be?

  • What different aspects deconstruct a plot?

Ethics considerations

  • Does your plot make the comparison of interest: easily? and accurately?

  • Did you add alt text to your images (see Writing Alt Text for Data Visualization)?

  • Is your plot accessible to those who are color blind or looking at the image in black and white?

Slides

Additional Resources

:::