cse512 :: 14 jan 2014 visualization designcourses.cs.washington.edu/courses/cse512/14wi/... ·...

92
CSE512 :: 14 Jan 2014 Visualization Design Jerey Heer University of Washington

Upload: others

Post on 31-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

CSE512 :: 14 Jan 2014

Visualization Design

Je!rey Heer University of Washington

Page 2: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Last Time:Data and Image Models

Page 3: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

The Big Picturetaskquestions & hypothesesintended audience

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

domainmetadatasemantics conceptual model

processingalgorithms

mappingvisual encodingvisual metaphor

imagevisual channelperception

Page 4: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Nominal, Ordinal and Quantitative

N - Nominal (labels) Operations: =, ≠

O - Ordered (rank-ordered, sorted) 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

Page 5: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

PositionSizeValueTextureColorOrientationShape

Others?

Visual Encoding Variables

Page 6: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Formalizing Design(Mackinlay 1986)

Page 7: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

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 e!ective way.

Page 8: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

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)

Page 9: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

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

Page 10: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

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]

Page 11: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

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.

E!ectivenessA visualization is more e!ective than another visualization if the information conveyed by one visualization is more readily perceived than the information in the other visualization.

Design Criteria (Mackinlay)

Page 12: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Mackinlay’s Ranking

Conjectured e!ectiveness of the encoding

Page 13: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

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 e!ectiveness of resulting image

Outputs the “most e!ective” visualization

Page 14: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

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

Page 15: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Assignment 1 Review

Page 16: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Design Considerations

Title, labels, legend, captions, source!

Expressiveness and E!ectivenessAvoid unexpressive marks (lines? bars? gradients?)Use perceptually e!ective encodingsDon’t distract: faint gridlines, pastel highlights/fillsThe “elimination diet” approach – start minimal

Support comparison and pattern perceptionBetween elements, to a reference line, or to totals

Page 17: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Design ConsiderationsGroup / sort data by meaningful dimensionsTransform data (e.g., invert, log, normalize)Are model choices (regression lines) appropriate?

Reduce cognitive overheadMinimize visual search, minimize ambiguity-> Avoid legend lookups if direct labeling works-> Avoid color mappings with indiscernible colors

Be consistent! Visual inferences should consistently support data inferences

Page 18: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

In-Class Review RubricExpressiveness

Prioritizes important information / Avoids false inferences Consistent visual mappings (e.g., respect color mappings) Make encodings meaningful rather than arbitrary

E!ectiveness Facilitates accurate decoding / Minimizes cognitive overhead Highlight elements of primary interest

Grouping / SortingData TransformationNon-Data Elements

Descriptive: Title, Label, Caption, Data Source, Annotations Reference: Gridlines, Legend

Page 19: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Bar Charts

Page 20: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 21: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 22: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 23: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 24: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 25: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 26: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 27: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

27

Page 28: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 29: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 30: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 31: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 32: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 33: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

33

Page 34: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 35: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 36: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 37: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 38: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 39: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 40: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 41: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 42: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 43: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 44: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 45: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 46: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 47: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 48: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 49: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Line Charts

Page 50: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 51: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 52: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 53: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 54: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 55: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Dot Plots

Page 56: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 57: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 58: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 59: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 60: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 61: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 62: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 63: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 64: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 65: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Tables / Heat Maps

Page 66: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 67: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 68: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 69: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 70: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 71: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 72: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 73: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Other

Page 74: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 75: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 76: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 77: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 78: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 79: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 80: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 81: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 82: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties
Page 83: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Visualization DesignIn-Class Exercise

Page 84: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

In-Class Design Exercise

Task: Analyze and Re-design visualization

Identify data variables (n,o,q) and encodings Critique the design: what works, what doesn’t Sketch a re-design to improve communication Be ready to share your thoughts with the class

Break into groups with those sitting near you(~4 people per group)

Page 85: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Mackinlay’s Ranking

Conjectured e!ectiveness of the encoding

Page 86: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Source: Good Magazine

Page 87: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Source: The Atlantic 300 no. 2 (September 2007) Number of Classified U.S. Documents

Page 88: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Washington Dulles Airport MapSource: United Airlines Hemispheres

Page 89: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Source: National Geographic, September, 2008, p. 22.Silver, Mark. "High School Give-and-Take."

Page 90: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Source: Business Week, June 18, 2007

Page 91: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Preparing for a PandemicSource: Scientific American, 293(5). November, 2005, p. 50

Page 92: CSE512 :: 14 Jan 2014 Visualization Designcourses.cs.washington.edu/courses/cse512/14wi/... · combinatorial set of possibilities with size (n+1)8 Principle of Consistency: The properties

Source: Wired Magazine, September 2008 EditionMusic: Super Cuts (page 92)