The Purpose of Visualization Ma Maneesh Agrawala CS 448B: - - PDF document

the purpose of visualization
SMART_READER_LITE
LIVE PREVIEW

The Purpose of Visualization Ma Maneesh Agrawala CS 448B: - - PDF document

The Purpose of Visualization Ma Maneesh Agrawala CS 448B: Visualization Fall 2020 1 How much data (bytes) did we produce in 2016? 2 1 2016: 16.1 zetabytes [Gantz 2017] 3 2016: 16.1 zetabytes 10x increase over 5 years [Gantz 2017] 4


slide-1
SLIDE 1

1

The Purpose of Visualization

Ma Maneesh Agrawala

CS 448B: Visualization Fall 2020

1

How much data (bytes) did we produce in 2016?

2

slide-2
SLIDE 2

2

2016: 16.1 zetabytes

[Gantz 2017]

3

2016: 16.1 zetabytes

10x increase over 5 years

[Gantz 2017]

4

slide-3
SLIDE 3

3

Physical Sensors Image courtesy cabspotting.org

5

Health & Medicine

6

slide-4
SLIDE 4

4

Records of Human Activity

7

Wikipedia: Collaborative Creation

8

slide-5
SLIDE 5

5

Wikipedia: Collaborative Creation

9

Wikipedia History Flow (IBM)

10

slide-6
SLIDE 6

6

11

“The ability to take data—to be able to understand it, to process it, to extract value from it, to visualize it, to communicate it—that’s going to be a hugely important skill in the next decades, … because now we really do have essentially free and ubiquitous data. So the complimentary scarce factor is the ability to understand that data and extract value from it.” Hal Varian, Google’s Chief Economist

The McKinsey Quarterly January 2009

12

slide-7
SLIDE 7

7

“What information consumes is rather obvious: it consumes the attention of its recipients. Hence a wealth of information creates a poverty

  • f attention, and a need to allocate that

attention efficiently among the overabundance of information sources that might consume it.” Herb Simon

as quoted by Hal Varian Scientific American September 1995

13

What is visualization?

14

slide-8
SLIDE 8

8

Examples

15

Examples

16

slide-9
SLIDE 9

9

Examples

17

What is visualization?

“Transformation of the symbolic into the geometric”

[McCormick et al. 1987]

“... finding the artificial memory that best supports

  • ur natural means of perception.” [Bertin 1967]

“The use of computer-generated, interactive, visual representations of data to amplify cognition.”

[Card, Mackinlay, & Shneiderman 1999] 19

slide-10
SLIDE 10

10

Set A Set B Set C Set D

X Y X Y X Y X Y 10 8.04 10 9.14 10 7.46 8 6.58 8 6.95 8 8.14 8 6.77 8 5.76 13 7.58 13 8.74 13 12.74 8 7.71 9 8.81 9 8.77 9 7.11 8 8.84 11 8.33 11 9.26 11 7.81 8 8.47 14 9.96 14 8.1 14 8.84 8 7.04 6 7.24 6 6.13 6 6.08 8 5.25 4 4.26 4 3.1 4 5.39 19 12.5 12 10.84 12 9.11 12 8.15 8 5.56 7 4.82 7 7.26 7 6.42 8 7.91 5 5.68 5 4.74 5 5.73 8 6.89 [Anscombe 73] Summary Statistics Linear Regression uX = 9.0 σX = 3.317 Y = 3 + 0.5 X uY = 7.5 σY = 2.03 R2 = 0.67

20

2 4 6 8 10 12 14 2 4 6 8 10 12 14 16 2 4 6 8 10 12 14 2 4 6 8 10 12 14 16 2 4 6 8 10 12 14 2 4 6 8 10 12 14 16 2 4 6 8 10 12 14 2 4 6 8 10 12 14 16 18 20

Set A Set C Set D Set B

X X Y Y

21

slide-11
SLIDE 11

11

Why do we create visualizations?

22

Why do we create visualizations?

I Answer questions (or discover them) I Make decisions I See data in context I Expand memory I Support graphical calculation I Find patterns I Present argument I Tell a story I Inspire

27

slide-12
SLIDE 12

12

The Purpose of Visualization

Record information

I

Photographs, blueprints, …

Support reasoning about information (analyze)

I

Process and calculate

I

Reason about data

I

Expand memory

Convey information to others (present)

I

Share and persuade

I

Emphasize important aspects of data

28

Record Information

29

slide-13
SLIDE 13

13

Answer question

Gallop, Bay Horse “Daisy” [Muybridge 1884-86]

30

Answer question

Gallop, Bay Horse “Daisy” [Muybridge 1884-86]

31

slide-14
SLIDE 14

14

Photographs: Phases of the moon

32

Drawing: Phases of the moon

Galileo’s drawings of the phases of the moon from 1616 http://galileo.rice.edu/sci/observations/moon.html

33

slide-15
SLIDE 15

15

Other recording instruments

Marey’s sphygmograph [from Braun 83]

34

Support Reasoning

36

slide-16
SLIDE 16

16

Make a decision: Challenger

2 of 13 pages of material faxed to NASA by Morton Thiokol [from Tufte 1997]

37

Make a decision: Challenger

38

slide-17
SLIDE 17

17

Make a decision: Challenger

Visualizations drawn by Tufte show how low temperatures damage O-rings [Tufte 97]

39

Make a decision: Challenger

Visualizations drawn by Tufte show how low temperatures damage O-rings [Tufte 97]

40

slide-18
SLIDE 18

18

See data in context: Cholera outbreak

In 1854 John Snow plotted the position of each cholera case

  • n a map. [from Tufte 83]

41

See data in context: Cholera outbreak

Used map to support hypothesis Broad St. pump was the cause. [from Tufte 83]

42

slide-19
SLIDE 19

19

Expand memory: Multiplication

Class Exercise

43

Expand memory: Multiplication

34 x 87

44

slide-20
SLIDE 20

20

Expand memory: Multiplication

34 x 87 238 2720 2958

45

Expand memory: Multiplication

74 x 48

46

slide-21
SLIDE 21

21

20 40 60 80 100 120 Mental Paper & Pencil Time (Sec.)

Expand memory: Multiplication

74 x 48 592 2960 3552

47

Most powerful brain?

52

slide-22
SLIDE 22

22

The Dragons of Eden [Carl Sagan]

Most powerful brain?

53

The Elements of Graping Data [Cleveland]

Tell a story: Most powerful brain?

54

slide-23
SLIDE 23

23

Convey Information to Others

55

Beautiful Evidence [Tufte]

Most powerful brain?

56

slide-24
SLIDE 24

24

Present argument

Crimean War Deaths [Nightingale 1858]

“to affect thro‘ the eyes what we fail to convey to the public through their word-proof ears” 57

X-ray crystallography of DNA [Franklin 52]

Inspire

Bones in hand [from 1918 edition]

58

slide-25
SLIDE 25

25

Double helix model [Watson and Crick 53]

Inspire

Bones in hand [from 1918 edition]

59

The Purpose of Visualization

Record information

I

Photographs, blueprints, …

Support reasoning about information (analyze)

I

Process and calculate

I

Reason about data

I

Expand memory

Convey information to others (present)

I

Share and persuade

I

Emphasize important aspects of data

60

slide-26
SLIDE 26

26

Goals of visualization research

  • 1. Understand how visualizations convey information

I

What do people perceive/comprehend ?

I

How do visualizations correspond with mental models of data?

  • 2. Develop principles and techniques for creating

effective visualizations and supporting analysis

I

Leverage perception and cognition

I

Strengthen connection between visualization and mental models

68

Course Topics

69

slide-27
SLIDE 27

27

Data and image models

[Bertin, Graphics and Graphic Information Processing 1981]

70

Visualization Design & ReDesign

Problematic design Redesign

71

slide-28
SLIDE 28

28

Exploratory Data Analysis

Tableau -- based on Polaris [Stolte, Tang, Hanrahan]

72

Using Space Effectively

http://www.ncgia.ucsb.edu/projects/Cartogram_Central/types.html

73

slide-29
SLIDE 29

29

Interaction

Oakland Crimespotting (crimespotting.org) [Stamen]

74

Introduction to D3

D3: Data Driven Documents [Bostock 2011]

75

slide-30
SLIDE 30

30

Perception

The psychophysics of sensory function [Stevens 61]

76

Visual Explainers

Gapminder [Rosling]

77

slide-31
SLIDE 31

31

Color

[from Cynthia Brewer http://www.personal.psu.edu/faculty/c/a/cab38/ ]

78

Animation

Animated Transitions [Heer 07]

79

slide-32
SLIDE 32

32

Networks

Degree-of-Interest Trees [Heer 2004]

80

You should expect to

  • 1. De

Design, evaluate and critique visualizations

  • 2. Ex

Expl plore da data using existing visualization tools

  • 3. Im

Imple lement interactive data visualizations

  • 4. De

Develop a substantial visualization project

90

slide-33
SLIDE 33

33

Course Mechanics

91

Instructor: Maneesh Agrawala

92

slide-34
SLIDE 34

34

Course Assistant: Dae Hyun Kim

93

Office Hours

Maneesh: 1:30-3pm Wed, Canvas/Zoom & by appt. Dae Hyun: 7-8:00pm Tue, Canvas/Zoom & by appt.

Outside of OH use Piazza to conect with us

https://piazza.com/stanford/fall2020/cs448b/ 94

slide-35
SLIDE 35

35

Textbooks

See also: www.edwardtufte.com

95

Interactive Notebooks

Hands-on engagement with course concepts and modern visualization tools (Vega-Lite / D3), in JavaScript (Observable)

96

slide-36
SLIDE 36

36

Optional Textbook

For additional theory and depth

97

Optional Book

For learning D3! Book available online Code/examples on GitHub We will be using D3 v6 https://d3js.org

98

slide-37
SLIDE 37

37

Readings

I From books, notebooks and linked articles

Many open to public, some may require SUNetID/Password

I Material in class will be loosely based on readings I Readings should be read by start of class I Post comments (about reading, notebooks or

lecture) using link on class webpage

One comment per week through week 9 Must post by en end d of the he week eek You have 1 pass for the quarter Class home page

https://magrawala.github.io/cs448b-wi20/

99

Reading/Notebook/Lecture Responses

Good responses typically exhibit one or more

I Critiques of arguments made in the papers/lectures

I Analysis of implications or future directions for ideas in readings/lectures

I Insightful questions about the readings/lectures

Responses should not be summaries 100

slide-38
SLIDE 38

38

Discussion

Discussion is essential for effective design, evaluation and critique of visualizations

IAttendance for is very highly recommended IVideo – please leave on if you are comfortable doing so

101

Assignments

Class participation (10%) Assignment 1: Visualization Design (10%) due 9/22 Assignment 2: Exploratory Data Analysis (15%) due 10/6

Learn to use Tableau

Assignment 3: Interactive Prototype (25%) due 10/20

Should be familiar with Javascript (start now if you are not) Will cover basics of D3 in class

Final Project (40%) proposal due 10/27, presentation 11/10

102

slide-39
SLIDE 39

39

Final project

Either

I Create an extended visual explainer I Small visualization research project

Projects from previous classes have been:

I Gone viral on blogs I Published as research papers I Released as open source projects

103

Structure of Musicals

Lyrical themes in Hamilton [Townley-Smith, Sterman, Cook 2016]

104

slide-40
SLIDE 40

40

Visualization of Narrative Structure

Character interactions and sentiment in The Hobbit [Bilenko,Miyakawa 2013]

105

deepviz: Visualizing Convolutional NNs

1) Filter details 2) Image selector 3) Network overview 4) Filter visualization 5) Visualization selector 6) Selection helper 7) Animation slider

[Bruckner,Rosen,Sparks 2013]

106

slide-41
SLIDE 41

41

Assignment 1: Visualization Design

Due by 7am on Tue Sep 22

Design a static visualization for a data set. You must choose the message you want to convey. What question(s) do you want to answer? What insight do you want to communicate? 107

Assignment 1: Visualization Design

Due by 7am on Tue Sep 22 Pick a guiding question, use it to title your visualization Design a static visualization for that question You are free to use any tools (including pen & paper) Deliverables (upload via Canvas; see A1 page) PDF of your visualization with a short description including design rationale (≤ 4 paragraphs)

108