Data Visualization Principles: Color CSC444 Acknowledgments for - - PowerPoint PPT Presentation

data visualization principles color
SMART_READER_LITE
LIVE PREVIEW

Data Visualization Principles: Color CSC444 Acknowledgments for - - PowerPoint PPT Presentation

Data Visualization Principles: Color CSC444 Acknowledgments for todays lecture: Tamara Munzner, Miriah Meyer, Maureen Stone RECAP COLOR SPACES DEVICE DEPENDENT RGB Device-centric What programs want, not what humans want HSL


slide-1
SLIDE 1

Data Visualization Principles: Color

CSC444

Acknowledgments for today’s lecture: Tamara Munzner, Miriah Meyer, Maureen Stone

slide-2
SLIDE 2

RECAP

slide-3
SLIDE 3

COLOR SPACES

slide-4
SLIDE 4

DEVICE DEPENDENT

slide-5
SLIDE 5

RGB

  • Device-centric
  • What programs want,

not what humans want

slide-6
SLIDE 6

HSL

  • Still device-centric
slide-7
SLIDE 7

DEVICE INDEPENDENT

slide-8
SLIDE 8

Jacob Rus 2007 CC-SA

Munsell Color System

  • Good: Perceptually

uniform

  • Bad: Phenomenological,

so no physiological or computational basis

slide-9
SLIDE 9
  • “Optically linear”
  • Designed so that all visible colors have positive

coordinates, and Y is “luminance”

XYZ Color Space

slide-10
SLIDE 10

Lab Color Space

  • “Perceptually uniform”
  • Euclidean distance roughly corresponds to

perceptual distance (very useful!)

  • L is “luminance”, a and b are opponent colors

https://en.wikipedia.org/wiki/Lab_color_space

slide-11
SLIDE 11

Polar Lab (or HCL)

  • “Perceptually uniform”, like Lab
  • Transform ab to polar coordinates: radius is

Chroma, Angle is Hue

  • Conversion to/from RGB is complicated, but

distances in HCL make sense, and it makes sense for humans

  • Like HSL, but good. All else being equal, think

HCL first

slide-12
SLIDE 12

Demos

http://cscheid.net/static/20120216/xyz_frame.html http://cscheid.net/static/20120216/luv_frame.html http://cscheid.net/static/20120216/hcl_frame.html http://cscheid.net/static/20120216/hsv_frame.html https://cscheid.net/courses/fal16/cs444/lectures/lecture8/ colors.html

slide-13
SLIDE 13

Let’s use consistent names in class

Hue Saturation Luminance

slide-14
SLIDE 14

CONSEQUENCES FOR DESIGN

slide-15
SLIDE 15

–Maureen Stone

“Get it right in black and white”

slide-16
SLIDE 16

If you’re going to show shape variation, do it with luminance

slide-17
SLIDE 17

If you’re going to show shape variation, do it with luminance

slide-18
SLIDE 18

If you’re going to show shape variation, do it with luminance

slide-19
SLIDE 19

(You can see stars better by looking away from them!)

slide-20
SLIDE 20

http://www.settheory.com/Glass_paper/ Kanizsa_observations.html http://www.settheory.com/Glass_paper/color_motion.gif

slide-21
SLIDE 21

Do not rely only on hue boundaries to depict shape

slide-22
SLIDE 22

Do not rely only on hue boundaries to depict shape

slide-23
SLIDE 23
slide-24
SLIDE 24
slide-25
SLIDE 25

Ware, Chapter 4

slide-26
SLIDE 26

Area affects saturation perception Saturation affects area perception

slide-27
SLIDE 27
slide-28
SLIDE 28

Saturation affects area perception

slide-29
SLIDE 29

Area affects saturation perception Saturation affects area perception

Imagine the mess if you try to use both…

slide-30
SLIDE 30
slide-31
SLIDE 31
slide-32
SLIDE 32
slide-33
SLIDE 33
slide-34
SLIDE 34

Simultaneous contrast is a problem

Quantize the plot if background is non-constant (This comes at a fidelity cost for the data)

slide-35
SLIDE 35

“Categorical” data

d3.scaleOrdinal(d3.schemeCategory10)

  • Sometimes there’s no implied relationship between

different levels of a variable

  • Stimuli must look different, but only different
slide-36
SLIDE 36

Order these colors!

slide-37
SLIDE 37

Order these colors!

You can’t…

slide-38
SLIDE 38

Order these colors!

slide-39
SLIDE 39

Order these colors!

You can’t help but…

slide-40
SLIDE 40

Order these colors!

You can’t help but…

slide-41
SLIDE 41

Be aware of implied and perceptually forced color relationships

For categorical data, use color only when you have few categories (less than 10)

slide-42
SLIDE 42
slide-43
SLIDE 43

The Dreaded Rainbow Colormap

slide-44
SLIDE 44

If you’re going to use the rainbow colormap, use an isoluminant version, quantize it, or both

Bad Better

slide-45
SLIDE 45

COLORBREWER