Foundations Color for Data Vis Benjamin Bach http://benjbach.me - - PowerPoint PPT Presentation

foundations color for data vis
SMART_READER_LITE
LIVE PREVIEW

Foundations Color for Data Vis Benjamin Bach http://benjbach.me - - PowerPoint PPT Presentation

Foundations Color for Data Vis Benjamin Bach http://benjbach.me University of Edinburgh 2020 Outline What is color? Color in visualization Color Scales Sequential, diverging, categorical scales Rainbow color map Color blindness What is


slide-1
SLIDE 1

Foundations Color for Data Vis

Benjamin Bach http://benjbach.me University of Edinburgh 2020

slide-2
SLIDE 2

Outline

What is color? Color in visualization Color Scales Sequential, diverging, categorical scales Rainbow color map Color blindness

slide-3
SLIDE 3

What is Color?

slide-4
SLIDE 4

400-700nm ~120 million rods ~6 million cones

slide-5
SLIDE 5
slide-6
SLIDE 6

Color Models

Subtractive Models Additive Models

slide-7
SLIDE 7

What is color?

slide-8
SLIDE 8

HSB Model: Hue, Saturation, Brightness

Color = (Brightness/Lightness, Saturation, Hue)

slide-9
SLIDE 9

HSB Color Picker

slide-10
SLIDE 10

Color in Visualization

slide-11
SLIDE 11

Visual Variables

slide-12
SLIDE 12

http://innovis.cpsc.ucalgary.ca/innovis/uploads/Publications/Publications/Carpendale_visual_variables.pdf

slide-13
SLIDE 13
slide-14
SLIDE 14

Color Scales

slide-15
SLIDE 15

More examples of color scales (ColorBrewer)

slide-16
SLIDE 16
slide-17
SLIDE 17

Colorbrewer.org

slide-18
SLIDE 18

Sequential Scales

slide-19
SLIDE 19

More examples of color scales (ColorBrewer)

slide-20
SLIDE 20

Sequential color scales

https://github.com/d3/d3-scale-chromatic

Single hue: Multi hue:

slide-21
SLIDE 21

Mapping color scales

Data value Linear Non-linear Stepwise

slide-22
SLIDE 22
slide-23
SLIDE 23

Median Median

slide-24
SLIDE 24

Median Median

slide-25
SLIDE 25

8 18 10%

slide-26
SLIDE 26
slide-27
SLIDE 27
slide-28
SLIDE 28

10%

slide-29
SLIDE 29

Diverging Scales

slide-30
SLIDE 30

More examples of color scales (ColorBrewer)

slide-31
SLIDE 31

Diverging color scale

Multi hue:

slide-32
SLIDE 32
slide-33
SLIDE 33
slide-34
SLIDE 34
slide-35
SLIDE 35

Categorical Scales

slide-36
SLIDE 36

More examples of color scales (ColorBrewer)

slide-37
SLIDE 37
slide-38
SLIDE 38
slide-39
SLIDE 39

I Want Hue

slide-40
SLIDE 40
slide-41
SLIDE 41
slide-42
SLIDE 42
slide-43
SLIDE 43
slide-44
SLIDE 44

Rainbow Color Maps

slide-45
SLIDE 45

More examples of color scales (ColorBrewer)

slide-46
SLIDE 46
slide-47
SLIDE 47

http://innovis.cpsc.ucalgary.ca/innovis/uploads/Publications/Publications/Carpendale_visual_variables.pdf

slide-48
SLIDE 48

Rainbow: Diverging: Color Maps

slide-49
SLIDE 49

Rainbow Colormap

slide-50
SLIDE 50

Rainbow Colormap

slide-51
SLIDE 51

Color (mis)use

slide-52
SLIDE 52

Lightness perception of rainbow color maps

slide-53
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
SLIDE 54

Linear Rainbow map

slide-55
SLIDE 55
slide-56
SLIDE 56

Color Blindness

slide-57
SLIDE 57
slide-58
SLIDE 58

Protanopia Deuteranopia Tritanopia Normal vison

slide-59
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 60
slide-61
SLIDE 61

www.color-blindness.com

Normal Types of color blindness

slide-62
SLIDE 62

Colorblind safe palettes

Diverging Sequential Categorical Colorbrewer.org:

slide-63
SLIDE 63

Redundant encoding

slide-64
SLIDE 64

Further applications in DataVis

slide-65
SLIDE 65

Meaning of colors across cultures

slide-66
SLIDE 66
slide-67
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

  • verall.
slide-68
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