CS-5630 / CS-6630 Visualization for Data Science The Visualization - - PowerPoint PPT Presentation

cs 5630 cs 6630 visualization for data science the
SMART_READER_LITE
LIVE PREVIEW

CS-5630 / CS-6630 Visualization for Data Science The Visualization - - PowerPoint PPT Presentation

CS-5630 / CS-6630 Visualization for Data Science The Visualization Alphabet: Marks and Channels Alexander Lex alex@sci.utah.edu [xkcd] How can I visually represent two numbers, e.g., 4 and 8 Marks & Channels Marks : represent items or


slide-1
SLIDE 1

CS-5630 / CS-6630 Visualization for Data Science The Visualization Alphabet: Marks and Channels

Alexander Lex alex@sci.utah.edu

[xkcd]

slide-2
SLIDE 2

How can I visually represent two numbers, e.g.,

4 and 8

slide-3
SLIDE 3

Marks & Channels

Marks: represent items or links Channels: change appearance based on attribute Channel = Visual Variable

slide-4
SLIDE 4

Marks for Items

Basic geometric elements 3D mark: Volume, but rarely used

0D 2D 1D

slide-5
SLIDE 5

Marks for Links

Containment Connection

slide-6
SLIDE 6

Containment can be nested

[Riche & Dwyer, 2010]

slide-7
SLIDE 7

Channels (aka Visual Variables)

Control appearance proportional to or based on attributes

slide-8
SLIDE 8

Jacques Bertin

French cartographer [1918-2010] Semiology of Graphics [1967] Theoretical principles for visual encodings

slide-9
SLIDE 9

Bertin’s Visual Variables

Semiology of Graphics [J. Bertin, 67]

Points Lines Areas Marks:

Position Size (Grey)Value Texture Color Orientation Shape

slide-10
SLIDE 10

Using Marks and Channels

Mark: Line Channel: Length, Position 1 quantitative attribute Adding Hue +1 categorical attr. Adding Size +1 quantitative attr. Mark: Point Channel: Position 2 quantitative attr.

slide-11
SLIDE 11

Redundant encoding

Length, Position and Value

slide-12
SLIDE 12

Good bar chart?

Rule: Use channel proportional to data!

https://twitter.com/ChaseThomason/status/1118478036507164672?s=19

slide-13
SLIDE 13

Types of Channels

Identity Channels What? Shape Color (hue) Spatial region … Magnitude Channels How much? Which Rank? Position Length Saturation …

Categorical Data Ordinal & Quantitative Data

slide-14
SLIDE 14

Magnitude Channels: Ordered Attributes Identity Channels: Categorical Attributes Spatial region Color hue Motion Shape Position on common scale Position on unaligned scale Length (1D size) Tilt/angle Area (2D size) Depth (3D position) Color luminance Color saturation Curvature Volume (3D size) Channels: Expressiveness Types and Effectiveness Ranks

slide-15
SLIDE 15

What visual variables are used?

http://www.nytimes.com/interactive/2013/05/25/sunday-review/corporate-taxes.html

slide-16
SLIDE 16

Characteristics of Channels

Selective

Is a mark distinct from other marks? Can we make out the difference between two marks?

Associative

Does it support grouping?

Quantitative (Magnitude vs Identity Channels)

Can we quantify the difference between two marks?

slide-17
SLIDE 17

Characteristics of Channels

Order (Magnitude vs Identity)

Can we see a change in order?

Length

How many unique marks can we make?

slide-18
SLIDE 18

Position

Strongest visual variable Suitable for all data types Problems:

Sometimes not available (spatial data) Cluttering

Selective: yes Associative: yes Quantitative: yes Order: yes Length: fairly big

slide-19
SLIDE 19

Example: Scatterplot

slide-20
SLIDE 20

Position in 3D?

[Spotfire]

slide-21
SLIDE 21

Length & Size

Good for 1D, OK for 2D, Bad for 3D Easy to see whether one is bigger Aligned bars use position redundantly

For 1D length: Selective: yes Associative: yes Quantitative: yes Order: yes Length: high

slide-22
SLIDE 22

Example 2D Size: Bubbles

slide-23
SLIDE 23

Value/Luminance/Saturation

OK for quantitative data when length & size are used. Not very many shades recognizable

Selective: yes Associative: yes Quantitative: somewhat (with problems) Order: yes Length: limited

slide-24
SLIDE 24

Example: Diverging Value-Scale

slide-25
SLIDE 25

Color

Good for qualitative data (identity channel) Limited number of classes/length (~7-10!) Does not work for quantitative data! Lots of pitfalls! Be careful! My rule:

minimize color use for encoding data use for brushing

Selective: yes Associative: yes Quantitative: no Order: no Length: limited

< < ?????

slide-26
SLIDE 26

Cliff Mass

Color: Bad Example

slide-27
SLIDE 27

Color: Good Example

slide-28
SLIDE 28

Shape

Great to recognize many classes. No grouping, ordering.

Selective: yes Associative: limited Quantitative: no Order: no Length: vast

< < ?????

slide-29
SLIDE 29
slide-30
SLIDE 30

Chernoff Faces

Idea: use facial parameters to map quantitative data

Critique: https://eagereyes.org/criticism/chernoff-faces Does it work? Not really!

slide-31
SLIDE 31

More Channels

slide-32
SLIDE 32

Why are quantitative channels different?

S = sensation I = intensity

slide-33
SLIDE 33

Steven’s Power Law, 1961

From Wilkinson 99, based on Stevens 61

Electric

slide-34
SLIDE 34

How much longer?

A B

2x

slide-35
SLIDE 35

How much longer?

A B

4x

slide-36
SLIDE 36

How much steeper?

A B

~4x

slide-37
SLIDE 37

How much larger?

A B

5x

slide-38
SLIDE 38

How much larger?

A B

2x diameter 4x area

area is proportional to diameter squared

slide-39
SLIDE 39

How much larger (area)?

A B

3x

slide-40
SLIDE 40

How much darker?

A B

2x

slide-41
SLIDE 41

How much darker?

A B

3x

slide-42
SLIDE 42

Position, Length & Angle

slide-43
SLIDE 43

Other Factors Affecting Accuracy

Alignment Distractors Distance Common scale …

A B Unframed Aligned Framed Unaligned A B A B Unframed Unaligned

VS VS VS

slide-44
SLIDE 44

Cleveland / McGill, 1984

William S. Cleveland; Robert McGill , “Graphical Perception: Theory, Experimentation, and Application to the Development of Graphical Methods.” 1984

slide-45
SLIDE 45

Heer & Bostock, 2010

slide-46
SLIDE 46

Positions Rectangular areas

(aligned or in a treemap)

Angles Circular areas Cleveland & McGill’s Results Crowdsourced Results

1.0 3.0 1.5 2.5 2.0 Log Error 1.0 3.0 1.5 2.5 2.0 Log Error

Log Error = log2(judged percent - true percent + 1/8)

slide-47
SLIDE 47

[Mackinlay, Automating the Design of Graphical Presentations of Relational Information, 1986]

Jock Mackinlay, 1986

Decreasing

slide-48
SLIDE 48

Magnitude Channels: Ordered Attributes Identity Channels: Categorical Attributes Spatial region Color hue Motion Shape Position on common scale Position on unaligned scale Length (1D size) Tilt/angle Area (2D size) Depth (3D position) Color luminance Color saturation Curvature Volume (3D size) Channels: Expressiveness Types and Effectiveness Ranks

slide-49
SLIDE 49

Separability of Attributes

Can we combine multiple visual variables?

  • T. Munzner,

Visualization Analysis and Design, 2014