Dataviz art/skill

Create powerful dataviz with R



Ilya Kashnitsky

Barcelona Summer School of Demography 2024

2024-07-15

@ikashnitsky.phd

before we start

materials for the course

https://github.com/ikashnitsky/dataviz-bssd

rule 0 – DO VISUALIZE YOUR DATA

Anscombe’s Quartet

rule 1 – text should be horizontal

example of a figure improvement

rule 2 – on slides, text should be as large as possible

rule 3 – mind colors, especially regarding colorblind friendliness

rule 4 – highlight what’s important for the story

rule 5 – plots don’t have to be overly complicated to be powerful

a great example

(not a rule) suggestion

When possible and meaningful for you story – animate

Or make it completely interactive

Dataviz principles

Jonas Shoeley’s slides

https://github.com/jschoeley/idem_viz

Tidyverse

The most influential R developer

Hadley Wickham