CS448B Data and Image Models - University of...

82
CSE512 :: 9 Jan 2014 Data and Image Models Jerey Heer University of Washington 1

Transcript of CS448B Data and Image Models - University of...

Page 1: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

CSE512 :: 9 Jan 2014

Data and Image Models

Jeffrey Heer University of Washington

1

Page 2: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Last Time:Value of Visualization

2

Page 3: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

The Value of Visualization

Record information Blueprints, photographs, seismographs, …

Analyze data to support reasoning Develop and assess hypotheses Discover errors in data Expand memory Find patterns

Communicate information to others Share and persuade Collaborate and revise

3

Page 4: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Marey’s sphygmograph [from Braun 83]

4

Page 5: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Make a decision: Challenger

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

5

Page 6: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

1856 “Coxcomb” of Crimean War Deaths, Florence Nightingale

“to affect thro’ the Eyes what we fail to convey to the public through their word-proof ears”

6

Page 7: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Info-Vis vs. Sci-Vis?

7

Page 8: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Visualization Reference Model

Raw Data Data Tables

Visual Structures Views

Data Visual Form

Data Transformations

Visual Encodings

View Transformations

Task

8

Page 9: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Data and Image Models

9

Page 10: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

The Big Picture

task

dataphysical type int, float, etc.abstract type nominal, ordinal, etc.

domainmetadatasemantics conceptual model

processingalgorithms

mappingvisual encodingvisual metaphor

imagevisual channelretinal variables

10

Page 11: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Topics

Properties of dataProperties of imagesMapping data to images

11

Page 12: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Data

12

Page 13: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Data models vs. Conceptual models

Data models are low level descriptions of the data Math: Sets with operations on them

Example: integers with + and × operators

Conceptual models are mental constructions Include semantics and support reasoning

Examples (data vs. conceptual) (1D floats) vs. Temperature (3D vector of floats) vs. Space

13

Page 14: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Taxonomy (?)

1D (sets and sequences)Temporal2D (maps)3D (shapes)nD (relational)Trees (hierarchies)Networks (graphs)

Are there others?

The eyes have it: A task by data type taxonomy for information visualization [Shneiderman 96]

14

Page 15: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Types of variables

Physical types Characterized by storage format Characterized by machine operations Example: bool, short, int32, float, double, string, …

Abstract types Provide descriptions of the data May be characterized by methods/attributes May be organized into a hierarchy Example: plants, animals, metazoans, …

15

Page 16: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Nominal, Ordinal and QuantitativeN - Nominal (labels)

Fruits: Apples, oranges, …

O - Ordered Quality of meat: Grade A, AA, AAA

Q - Interval (Location of zero arbitrary) Dates: Jan, 19, 2006; Location: (LAT 33.98, LONG -118.45) Like a geometric point. Cannot compare directly Only differences (i.e. intervals) may be compared

Q - Ratio (zero fixed) Physical measurement: Length, Mass, Temp, … Counts and amounts Like a geometric vector, origin is meaningful

S. S. Stevens, On the theory of scales of measurements, 1946

16

Page 17: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Nominal, Ordinal and Quantitative

N - Nominal (labels) Operations: =, ≠

O - Ordered Operations: =, ≠, <, >

Q - Interval (Location of zero arbitrary) Operations: =, ≠, <, >, - Can measure distances or spans

Q - Ratio (zero fixed) Operations: =, ≠, <, >, -, % Can measure ratios or proportions

S. S. Stevens, On the theory of scales of measurements, 1946

17

Page 18: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

From data model to N,O,Q data type

Data model 32.5, 54.0, -17.3, … floats

Conceptual model Temperature (°C)

Data type Burned vs. Not burned (N) Hot, warm, cold (O) Continuous range of values (Q)

18

Page 19: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Sepal and petal lengths and widths for three species of iris [Fisher 1936].19

Page 20: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Q

O

N

20

Page 21: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Relational data model

Represent data as a table (relation)Each row (tuple) represents a single record Each record is a fixed-length tupleEach column (attribute) represents a single variable Each attribute has a name and a data typeA table’s schema is the set of names and data types

A database is a collection of tables (relations)

21

Page 22: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Relational Algebra [Codd]

Data transformations (sql) Projection (select)

Selection (where)

Sorting (order by)

Aggregation (group by, sum, min, …)

Set operations (union, …)

Combine (inner join, outer join, …)

22

Page 23: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Statistical data modelVariables or measurementsCategories or factors or dimensions Observations or cases

23

Page 24: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Statistical data modelVariables or measurementsCategories or factors or dimensions Observations or cases

Month Control Placebo 300 mg 450 mgMarch 165 163 166 168April 162 159 161 163May 164 158 161 153June 162 161 158 160July 166 158 160 148August 163 158 157 150

Blood Pressure Study (4 treatments, 6 months)24

Page 25: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Dimensions and Measures

Dimensions: Discrete variables describing dataDates, categories of values (independent vars)

Measures: Data values that can be aggregatedNumbers to be analyzed (dependent vars)Aggregate as sum, count, average, std. deviation

25

Page 26: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Example: U.S. Census Data

People: # of people in groupYear: 1850 – 2000 (every decade)Age: 0 – 90+Sex: Male, FemaleMarital Status: Single, Married, Divorced, …

26

Page 27: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Example: U.S. Census

PeopleYearAgeSexMarital Status

2348 data points

27

Page 28: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Census: N, O, Q?

People CountYear AgeSex (M/F) Marital Status

Q-Ratio Q-Interval (O) Q-Ratio (O) N N

28

Page 29: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Census: Dimension or Measure?

People CountYear AgeSex (M/F) Marital Status

Measure Dimension Depends! Dimension Dimension

29

Page 30: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Roll-Up and Drill-Down

Want to examine marital status in each decade?Roll-up the data along the desired dimensions

SELECT year, marst, sum(people)FROM censusGROUP BY year, marst;

Dimensions Measure

Dimensions

30

Page 31: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Roll-Up and Drill-Down

Need more detailed information?Drill-down into additional dimensions

SELECT year, age, marst, sum(people)FROM censusGROUP BY year, age, marst;

31

Page 32: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Age

Marital Status

Sing

le

Mar

ried

Div

orce

d

Wid

owed

19701980

19902000

Year

0-19

20-39

40-59

60+

All Marital Status

All Ages

All Years

Sum along Marital Status

Sum along Age

Sum along Year

32

Page 33: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Age

Marital Status

Sing

le

Mar

ried

Div

orce

d

Wid

owed

19701980

19902000

Year

0-19

20-39

40-59

60+

All Marital Status

All Ages

All Years

Sum along Marital Status

Sum along Age

Sum along Year

Roll-Up

Drill-Down

33

Page 34: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

YEAR AGE MARST SEX PEOPLE1850 0 0 1 1,483,7891850 5 0 1 1,411,0671860 0 0 1 2,120,8461860 5 0 1 1,804,467 . . .

AGE MARST SEX 1850 1860 . . .0 0 1 1,483,789 2,120,846 . . .5 0 1 1,411,067 1,804,467 . . . . . .Which format might we prefer?

34

Page 35: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Row vs. Column-Oriented Databases

35

Page 36: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Relational Data Organizations

Transactions vs. Analysis Row-oriented Column-oriented

36

Page 37: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Relational Data Organizations

Row-oriented Column-oriented

37

Page 38: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Relational Data Organizations

Speed-up AnalysisReduce data transferImproved localityData compression

Column-oriented

38

Page 39: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Administrivia

39

Page 40: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Announcements

Auditors Requirements: Come to class and participate (online as well)

Class participation requirements Complete readings before class

In-class discussion Post at least 1 discussion substantive comment/question on

Piazza within 24 hours after each lecture (11am next day)

40

Page 41: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Assignment 1: Visualization Design

Design a static visualization for a given data set.

Deliverables (submit via Catalyst)

Image of your visualization Short description and design rationale (≤ 4 para.)

Due by 5:00pm on Monday 1/13.

41

Page 42: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Questions?

42

Page 43: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Image

43

Page 44: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

44

Page 45: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Visual language is a sign system

Images perceived as a set of signsSender encodes information in signsReceiver decodes information from signs

Sémiologie Graphique, 1967

Jacques Bertin

45

Page 46: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Bertin’s Semiology of Graphics

1. A, B, C are distinguishable 2. B is between A and C. 3. BC is twice as long as AB.

∴ Encode quantitative variablesAB

C

"Resemblance, order and proportion are the three signifieds in graphics.” - Bertin

46

Page 47: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

47

Page 48: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Position (x 2)SizeValueTextureColorOrientationShape

Visual encoding variables

48

Page 49: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

PositionLengthAreaVolumeValueTextureColorOrientationShapeTransparencyBlur / Focus …

Visual encoding variables

49

Page 50: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Information in color and value

Value is perceived as ordered∴Encode ordinal variables (O)

∴ Encode continuous variables (Q) [not as well]

Hue is normally perceived as unordered∴ Encode nominal variables (N) using color

50

Page 51: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Bertin’s “Levels of Organization”

Nominal OrderedQuantitative

N O Q

N O Q

N O Q

N O

N

N

N

Position

Size

Value

Texture

Color

Orientation

Shape

Note: Q < O < N

51

Page 52: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Design Space of Visual Encodings

52

Page 53: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Univariate data A B C1

factors

variable

A B C D

53

Page 54: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Univariate data

7

5

3

1

0 20

Mean

low highMiddle 50%

Tukey box plot

A B C1

factors

variable

A B C D

A B C D E

54

Page 55: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Bivariate data

Scatter plot is common

A B C12

A

B

C

D

E

F

55

Page 56: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Trivariate data

3D scatter plot is possible

A B C123

A

B

C

D

E

F

A

B

C

D

E

F

G

56

Page 57: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Three variables

Two variables [x,y] can map to points Scatterplots, maps, …

Third variable [z] must use Color, size, shape, …

57

Page 58: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Large design space (visual metaphors)

[Bertin, Graphics and Graphic Info. Processing, 1981]

58

Page 59: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Multidimensional data

A B C12345678

How many variables can be depicted in an image?

59

Page 60: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Multidimensional data

“With up to three rows, a data table can be constructed directly as a single image … However, an image has only three dimensions. And this barrier is impassible.” Bertin

A B C12345678

How many variables can be depicted in an image?

60

Page 61: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Deconstructions

61

Page 62: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Playfair 1786

62

Page 63: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Playfair 1786

x-axis: year (Q)y-axis: currency (Q)color: imports/exports (N, O)

63

Page 64: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Wattenberg 1998

http://www.smartmoney.com/marketmap/64

Page 65: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Wattenberg 1998

rectangle size: market cap (Q)rectangle position: market sector (N), market cap (Q)color hue: loss vs. gain (N, O)color value: magnitude of loss or gain (Q)

65

Page 66: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Minard 1869: Napoleon’s march

66

Page 67: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

+

Single axis composition

=[based on slide from Mackinlay]

67

Page 68: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

y-axis: temperature (Q)

x-axis: longitude (Q) / time (O)

Mark composition

+

=

[based on slide from Mackinlay]

temp over space/time (Q x Q)

68

Page 69: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

y-axis: longitude (Q)

x-axis: latitude (Q)

width: army size (Q)

+

Mark composition

+=

[based on slide from Mackinlay]

army position (Q x Q) and army size (Q)

69

Page 70: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

longitude (Q)

latitude (Q)

army size (Q)

temperature (Q)

latitude (Q) / time (O)

[based on slide from Mackinlay]

70

Page 71: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Minard 1869: Napoleon’s march

Depicts at least 5 quantitative variables. Any others?

71

Page 72: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Formalizing Design(Mackinlay 1986)

72

Page 73: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Choosing Visual Encodings

Challenge: Assume 8 visual encodings and n data attributes.We would like to pick the “best” encoding among a combinatorial set of possibilities with size (n+1)8

Principle of Consistency: The properties of the image (visual variables) should match the properties of the data.

Principle of Importance Ordering: Encode the most important information in the most effective way.

73

Page 74: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

ExpressivenessA set of facts is expressible in a visual language if the sentences (i.e. the visualizations) in the language express all the facts in the set of data, and only the facts in the data.

Design Criteria (Mackinlay)

74

Page 75: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Cannot express the facts

A one-to-many (1 → N) relation cannot be expressed in a single horizontal dot plot because multiple tuples are mapped to the same position

75

Page 76: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Expresses facts not in the dataA length is interpreted as a quantitative value;∴ Length of bar says something untrue about N data

[Mackinlay, APT, 1986]

76

Page 77: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

ExpressivenessA set of facts is expressible in a visual language if the sentences (i.e. the visualizations) in the language express all the facts in the set of data, and only the facts in the data.

EffectivenessA visualization is more effective than another visualization if the information conveyed by one visualization is more readily perceived than the information in the other visualization.

Design Criteria (Mackinlay)

77

Page 78: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Mackinlay’s Ranking

Conjectured effectiveness of the encoding

78

Page 79: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Mackinlay’s Design Algorithm

User formally specifies data model and type Additional input: ordered list of data variables to show

APT searches over design space Tests expressiveness of each visual encoding Generates specification for encodings that pass test

Tests perceptual effectiveness of resulting image

Outputs the “most effective” visualization

79

Page 80: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Limitations

Does not cover many visualization techniques Bertin and others discuss networks, maps, diagrams

Does not consider 3D, animation, illustration, photography, …

Does not model interaction

Does not consider semantic data types / conventions

80

Page 81: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Summary

Formal specification Data model

Image model Encodings mapping data to image

Choose expressive and effective encodings Formal test of expressiveness Experimental tests of perceptual effectiveness

81

Page 82: CS448B Data and Image Models - University of Washingtoncourses.cs.washington.edu/courses/cse512/14wi/lectures/...The Value of Visualization Record information Blueprints, photographs,

Assignment 1: Visualization Design

Design a static visualization for a given data set.

Deliverables (submit via Catalyst)

Image of your visualization Short description and design rationale (≤ 4 para.)

Due by 5:00pm on Monday 1/13.

82