SLIDE 1 Foundations Color for Data Vis
Benjamin Bach http://benjbach.me University of Edinburgh 2020
SLIDE 2
Outline
What is color? Color in visualization Color Scales Sequential, diverging, categorical scales Rainbow color map Color blindness
SLIDE 3
What is Color?
SLIDE 4 400-700nm ~120 million rods ~6 million cones
SLIDE 5
SLIDE 6
Color Models
Subtractive Models Additive Models
SLIDE 7
What is color?
SLIDE 8
HSB Model: Hue, Saturation, Brightness
Color = (Brightness/Lightness, Saturation, Hue)
SLIDE 9
HSB Color Picker
SLIDE 10
Color in Visualization
SLIDE 11
Visual Variables
SLIDE 12 http://innovis.cpsc.ucalgary.ca/innovis/uploads/Publications/Publications/Carpendale_visual_variables.pdf
SLIDE 13
SLIDE 14
Color Scales
SLIDE 15
More examples of color scales (ColorBrewer)
SLIDE 16
SLIDE 17
Colorbrewer.org
SLIDE 18
Sequential Scales
SLIDE 19
More examples of color scales (ColorBrewer)
SLIDE 20 Sequential color scales
https://github.com/d3/d3-scale-chromatic
Single hue: Multi hue:
SLIDE 21 Mapping color scales
Data value Linear Non-linear Stepwise
SLIDE 22
SLIDE 26
SLIDE 27
SLIDE 29
Diverging Scales
SLIDE 30
More examples of color scales (ColorBrewer)
SLIDE 31 Diverging color scale
Multi hue:
SLIDE 32
SLIDE 33
SLIDE 34
SLIDE 35
Categorical Scales
SLIDE 36
More examples of color scales (ColorBrewer)
SLIDE 37
SLIDE 38
SLIDE 39
I Want Hue
SLIDE 40
SLIDE 41
SLIDE 42
SLIDE 43
SLIDE 44
Rainbow Color Maps
SLIDE 45
More examples of color scales (ColorBrewer)
SLIDE 46
SLIDE 47 http://innovis.cpsc.ucalgary.ca/innovis/uploads/Publications/Publications/Carpendale_visual_variables.pdf
SLIDE 48
Rainbow: Diverging: Color Maps
SLIDE 49
Rainbow Colormap
SLIDE 50
Rainbow Colormap
SLIDE 51
Color (mis)use
SLIDE 52
Lightness perception of rainbow color maps
SLIDE 53 Rainbow colormap
Pros:
- Many different values
- Compare similar values
Cons:
- Colors hardly orderable
- Introduces sharp jumps in values
- Hides overall patterns
- Overemphasizes certain values
- Is not black/white nor colorblind save!
SLIDE 54
Linear Rainbow map
SLIDE 55
SLIDE 56
Color Blindness
SLIDE 57
SLIDE 58 Protanopia Deuteranopia Tritanopia Normal vison
SLIDE 59 "If a submitted manuscript happens to go to three male reviewers of Northern European descent, the chance that at least one will be color blind is 22 percent." 8% 0.5%
Protanopia Deuteranopia Tritanopia
SLIDE 60
SLIDE 61 www.color-blindness.com
Normal Types of color blindness
SLIDE 62 Colorblind safe palettes
Diverging Sequential Categorical Colorbrewer.org:
SLIDE 63
Redundant encoding
SLIDE 64
Further applications in DataVis
SLIDE 65
Meaning of colors across cultures
SLIDE 66
SLIDE 67 Take home messages:
- Color = hue + lightness + saturation
- Chose a color scale that fits your data
- Avoid rainbow color palettes
- Test your color palettes for colorblindness
- Whatever increases accessibility for some
fraction of the population, increases accessibilty
SLIDE 68 Further reading
- Wong, Bang. "Points of view: Color blindness." (2011): 441.
- Tamara Munzner: Visualization Analysis and Design, 2016;
Chapter 10: Map Color and Other Channels
- https://www.color-blindness.com/types-of-color-blindness
- Colin Ware: Information Visualization—Perception for Design,
2012