Marks and Channels, Data Types CS 7250 S PRING 2020 Prof. Cody - - PowerPoint PPT Presentation

marks and channels
SMART_READER_LITE
LIVE PREVIEW

Marks and Channels, Data Types CS 7250 S PRING 2020 Prof. Cody - - PowerPoint PPT Presentation

Marks and Channels, Data Types CS 7250 S PRING 2020 Prof. Cody Dunne N ORTHEASTERN U NIVERSITY Slides and inspiration from Michelle Borkin, Krzysztof Gajos, Hanspeter Pfister, 1 Miriah Meyer, Jonathan Schwabish, and David Sprague I N -C LASS P


slide-1
SLIDE 1

Marks and Channels, Data Types

CS 7250 SPRING 2020

  • Prof. Cody Dunne

NORTHEASTERN UNIVERSITY

1

Slides and inspiration from Michelle Borkin, Krzysztof Gajos, Hanspeter Pfister, Miriah Meyer, Jonathan Schwabish, and David Sprague

slide-2
SLIDE 2

IN-CLASS PROGRAMMING — SOUTH END ALTAIR

~25 min total

2

slide-3
SLIDE 3

PREVIOUSLY, ON CS 7250…

3

slide-4
SLIDE 4

4

“Graphical Integrity”

To achieve graphical “excellence” according to Tufte:

  • 1. Above all else show the data.
  • 2. Maximize the data-ink ratio.
  • 3. Erase non-data ink.
  • 4. Erase redundant data ink.
  • 5. Revise and edit.

Tufte, “Visual Display of Quantitative Information” (1983)

slide-5
SLIDE 5

5

“Chart Junk”

Take-away: it depends on your audience, task, and context... Chart junk can... persuade, help with memorability, engage Chart junk can... bias, limit data-ink ratio, clutter, lower trust

slide-6
SLIDE 6

NOW, ON CS 7250…

6

slide-7
SLIDE 7

MARKS AND CHANNELS

7

slide-8
SLIDE 8

GOALS FOR TODAY

  • Learn the basic visual primitives of visualizations

(marks and channels)

  • Understand how marks and channels are

assembled to make visualizations

  • Learn which marks and channels are most

effective for a given task (“perceptual ordering”)

8

slide-9
SLIDE 9

9

MARK = basic graphical element in an image

Visualization Building Blocks

Munzner, “Visualization Analysis and Design” (2014)

slide-10
SLIDE 10

10

CHANNEL = way to control the appearance of marks, independent of the dimensionality of the geometric primitive

Visualization Building Blocks

slide-11
SLIDE 11

11

CHANNEL :

Visualization Building Blocks

MARK:

# of attributes encoded: 2

slide-12
SLIDE 12

12

CHANNEL :

Visualization Building Blocks

MARK:

# of attributes encoded: 2

slide-13
SLIDE 13

13

CHANNEL :

Visualization Building Blocks

MARK:

# of attributes encoded: 3

slide-14
SLIDE 14

14

CHANNEL :

Visualization Building Blocks

MARK:

# of attributes encoded: 4

slide-15
SLIDE 15

15

CHANNEL :

Visualization Building Blocks

MARK:

# of attributes encoded: 2

slide-16
SLIDE 16

16

CHANNEL :

Visualization Building Blocks

MARK:

# of attributes encoded: 2

slide-17
SLIDE 17

17

CHANNEL :

Visualization Building Blocks

MARK:

# of attributes encoded: 3

slide-18
SLIDE 18

18

CHANNEL :

Visualization Building Blocks

MARK:

+ position in 3D space # of attributes encoded: ?

slide-19
SLIDE 19

19

Kindlmann (2004)

slide-20
SLIDE 20

20

Kindlmann (2004)

slide-21
SLIDE 21

21

Visualization Building Blocks

Munzner, “Visualization Analysis and Design” (2014)

slide-22
SLIDE 22

22

Visualization Building Blocks

slide-23
SLIDE 23

23

Visualization Building Blocks

Channels :

Note: these are all really important concepts when it comes time to coding your visualizations...!

slide-24
SLIDE 24

How do I pick which marks or channels to use?

slide-25
SLIDE 25

25

“Ordering of Elemental Perceptual Tasks”

Cleveland & McGill (1984)

slide-26
SLIDE 26

26

“Ordering of Elemental Perceptual Tasks”

Cleveland & McGill (1984)

TASK: Which segment/bar is the maximum, and what is its percentage/value?

slide-27
SLIDE 27

27

“Ordering of Elemental Perceptual Tasks”

Cleveland & McGill (1984)

This is why pie charts are bad for quantitative tasks

slide-28
SLIDE 28

https://www.washingtonpost.com/news/wonk/wp/2013/06/17/the-usefulness-of-pie-charts-in-two-pie-charts/

28

slide-29
SLIDE 29

http://www.datasciencecentral.com/profiles/blogs/10-resources-to-help-you-stop-doing-pie-charts

29

slide-30
SLIDE 30

William Playfair (1801)

30

slide-31
SLIDE 31

31

“Ordering of Elemental Perceptual Tasks”

Cleveland & McGill (1984)

slide-32
SLIDE 32

32

“Ordering of Elemental Perceptual Tasks”

Heer & Bostock (2010)

slide-33
SLIDE 33

33

Heer & Bostock (2010)

slide-34
SLIDE 34

34

slide-35
SLIDE 35

35

slide-36
SLIDE 36

36

Expressiveness and Effectiveness

Expressiveness principle: the visual encoding should express all

  • f, and only, the information in the

dataset attributes. (i.e., data characteristics should match the channel)

Mackinlay (1986)

Effectiveness principle: the importance of the attribute should match the salience of the channel; that is, its noticeability. (i.e., encode most important attributes with highest ranked channels)

slide-37
SLIDE 37

My Summary: Prioritize choosing the most appropriate channel for each attribute

slide-38
SLIDE 38

38

Expressiveness and Effectiveness

Mackinlay (1986)

slide-39
SLIDE 39

39

Expressiveness and Effectiveness

Mackinlay (1986)

slide-40
SLIDE 40

40

Expressiveness and Effectiveness

slide-41
SLIDE 41

IN-CLASS EXERCISE

41

slide-42
SLIDE 42

3, 12, 42

42

slide-43
SLIDE 43

3, 12, 42

Jonathan Schwabish In-class Sketching: “Three numbers”

20m 1. Break-out into groups of ~3 students. 2. Together (15m) use pens & post-it notes to sketch as many possible visualizations as you can of these three numbers. 3. No upload required 4. As a class (5m) we will discuss some of the designs and themes.

43

slide-44
SLIDE 44

DATA TYPES

44

slide-45
SLIDE 45

45

GOALS FOR TODAY

  • Learn what are data types and dataset types
  • Learn what are attribute types
  • Learn how to pick appropriate visual representations

based on attribute type and perceptual properties

slide-46
SLIDE 46

46

TYPE = structural or mathematical interpretation of the data

Data Types

(variable, data dimension) (row, node) (relationship) (spatial location) (sampling)

slide-47
SLIDE 47

47

DATASET = collection of information that is the target of analysis

Data Types

slide-48
SLIDE 48

48

Data Types

DATASET = collection of information that is the target of analysis

slide-49
SLIDE 49

49

Slides by Miriah Meyer

Relevant to anyone in the sciences!

slide-50
SLIDE 50

50

Slides by Miriah Meyer

slide-51
SLIDE 51

51

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

“Voronoi Tessellation”