
SDS 236
2025-03-11
https://www.nytimes.com/interactive/2020/03/06/opinion/working-class-death-rate.html
Some answers:

Yau, Data Points, 2013
Do:
Don’t:


Sequential
Diverging
Categorical

Big Idea: color choices matter and there are better and worse choices

Map saturation to numeric variable
No more than 5–6 levels
People interpret high saturation as more

Map saturation to numeric variable
No more than 5–6 levels
People interpret high saturation as more
Map hue to numeric variable
Generally, no more than 2 anchor colors
People interpret darker hue as more


Two colors used to indicate extremes of a range
Neutral color in the middle
distinguish between zero and missing
Different color = different category
choose colors that are

RColorBrewer packagescale_color_brewer() functionviridisbbplot from the BBC
I tried a ggplot for the last graphic! Here is a link to my Github for the code and data table:https://t.co/B1k83Y0DTd pic.twitter.com/zV4MZNdMe0
— Sarah Gillespie (@SarahG4567) April 4, 2019