cse 512 - data visualization data and image modelscourses.cs.washington.edu › courses › cse512...
TRANSCRIPT
![Page 1: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/1.jpg)
CSE 512 - Data Visualization
Data and Image Models
Jeffrey Heer University of Washington
![Page 2: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/2.jpg)
Last Time: Value of Visualization
![Page 3: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/3.jpg)
Record information Blueprints, photographs, seismographs, … Analyze data to support reasoning Develop and assess hypotheses Find patterns / Discover errors in data Expand memory Communicate information to others Share and persuade Collaborate and revise
The Value of Visualization
![Page 4: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/4.jpg)
E.J. Marey’s sphygmograph [from Braun 83]
![Page 5: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/5.jpg)
Make a Decision: Challenger
Visualizations drawn by Tufte show how low temperatures damage O-rings [Tufte 97]
![Page 6: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/6.jpg)
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”
![Page 7: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/7.jpg)
InfoVis vs. SciVis?
![Page 9: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/9.jpg)
Data & Image Models
![Page 10: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/10.jpg)
The Big Picture
task questions, goals assumptions !data physical data type conceptual data type !domain metadata semantics conventions
processing algorithms
mapping visual encoding
image visual channel graphical marks
![Page 11: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/11.jpg)
Topics
Properties of Data Properties of Images Mapping Data to Images
![Page 12: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/12.jpg)
Data
![Page 13: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/13.jpg)
Data models are low-level descriptions Math: sets with operations on them Example: integers with + and x operators !Conceptual models are mental constructions Include semantics and support reasoning !Examples (data vs. conceptual) 1D floats vs. temperatures 3D vector of floats vs. spatial location
Data Models / Conceptual Models
![Page 14: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/14.jpg)
1D (sets and sequences) Temporal 2D (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]
Taxonomy of Data Types (?)
![Page 15: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/15.jpg)
Nominal, Ordinal & Quantitative
![Page 16: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/16.jpg)
N - Nominal (labels or categories) ! Fruits: apples, oranges, …
Nominal, Ordinal & Quantitative
![Page 17: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/17.jpg)
N - Nominal (labels or categories) ! Fruits: apples, oranges, …
O - Ordered ! Quality of meat: Grade A, AA, AAA
Nominal, Ordinal & Quantitative
![Page 18: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/18.jpg)
N - Nominal (labels or categories) ! 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) ! Only differences (i.e. intervals) may be compared
Nominal, Ordinal & Quantitative
![Page 19: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/19.jpg)
N - Nominal (labels or categories) ! 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) ! Only differences (i.e. intervals) may be compared
Q - Ratio (zero fixed) ! Physical measurement: Length, Mass, Temp, … ! Counts and amounts
Nominal, Ordinal & Quantitative
![Page 20: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/20.jpg)
N - Nominal (labels or categories) ! 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 !
Nominal, Ordinal & Quantitative
![Page 21: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/21.jpg)
Data Model 32.5, 54.0, -17.3, … Floating point numbers !Conceptual Model Temperature (°C) !Data Type Burned vs. Not-Burned (N) Hot, Warm, Cold (O) Temperature Value (Q)
From Data Model to N, O, Q
![Page 22: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/22.jpg)
Sepal and petal lengths and widths for three species of iris [Fisher 1936].
![Page 23: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/23.jpg)
Q
O
N
![Page 24: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/24.jpg)
Dimensions (~ independent variables) Discrete variables describing data (N, O) Categories, dates, binned quantities !Measures (~ dependent variables) Data values that can be aggregated (Q) Numbers to be analyzed Aggregate as sum, count, avg, std. dev…
Dimensions & Measures
![Page 25: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/25.jpg)
Example: U.S. Census Data
![Page 26: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/26.jpg)
People Count: # of people in group Year: 1850 – 2000 (every decade) Age: 0 – 90+ Sex: Male, Female Marital Status: Single, Married, Divorced, …
Example: U.S. Census Data
![Page 27: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/27.jpg)
People Count Year Age Sex Marital Status !2,348 data points
Example: U.S. Census
![Page 28: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/28.jpg)
People Count Year Age Sex Marital Status !
Q-Ratio Q-Interval (O) Q-Ratio (O) N N
Census: N, O, Q?
![Page 29: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/29.jpg)
People Count Year Age Sex Marital Status !
Measure Dimension Depends! Dimension Dimension
Census: Dimension or Measure?
![Page 30: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/30.jpg)
Data Transformation
![Page 31: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/31.jpg)
Represent data as a table (relation) Each row (tuple) represents a record Each record is a fixed-length tuple Each column (attribute) represents a variable Each attribute has a name and a data type A table’s schema is the set of names and types A database is a collection of tables (relations)
Relational Data Model
![Page 32: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/32.jpg)
Data Transformations (sql) Projection (select) - selects columns Selection (where) - filters rows Sorting (order by) Aggregation (group by, sum, min, max, …) Combine relations (union, join, …)
Relational Algebra [Codd ’70]
![Page 33: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/33.jpg)
Want to examine marital status in each decade? Roll-up the data along the desired dimensions !!
SELECT year, marst, sum(people) FROM census GROUP BY year, marst;
Dimensions Measure
Dimensions
Roll-Up and Drill-Down
![Page 34: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/34.jpg)
Need more detailed information? Drill-down into additional dimensions !!
SELECT year, age, marst, sum(people) FROM census GROUP BY year, age, marst;
Roll-Up and Drill-Down
![Page 35: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/35.jpg)
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
![Page 36: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/36.jpg)
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
![Page 37: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/37.jpg)
YEAR AGE MARST SEX PEOPLE 1850 0 0 1 1,483,789 1850 5 0 1 1,411,067 1860 0 0 1 2,120,846 1860 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?
![Page 38: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/38.jpg)
Administrivia
![Page 39: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/39.jpg)
Design a static visualization for a data set. !After the World War II, antibiotics were considered “wonder drugs.” To learn which drug is most effective for which bacterial infection, performance of the three most popular antibiotics were gathered. !You must choose the message you want to convey. What task do you want to support? What insight do you want to communicate?
A1: Visualization Design
![Page 40: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/40.jpg)
Design a static visualization for the data set. You are free to use any tools (inc. pen & paper). !Deliverables (upload via Canvas; see A1 page) Image of your visualization (PNG or JPG format) Short description + design rationale (≤ 4 paragraphs) !Due by 5:00 pm, Monday April 6.
A1: Visualization Design
![Page 41: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/41.jpg)
We will review A1 submissions So be sure to turn yours in on time! !We will then have a redesign exercise Please bring paper, pens, etc for sketching !Prof. Heer will be out attending OpenVisConf
Next Tuesday: Design Exercise
![Page 42: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/42.jpg)
Image
![Page 43: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/43.jpg)
![Page 44: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/44.jpg)
Visual Language is a Sign System
Images perceived as a set of signs Sender encodes information in signs Receiver decodes information from signs !
Sémiologie Graphique, 1967Jacques Bertin
![Page 45: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/45.jpg)
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 variablesA
B
C
"Resemblance, order and proportion are the three signfields in graphics.” - Bertin
![Page 46: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/46.jpg)
![Page 47: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/47.jpg)
!Position (x 2) Size Value Texture Color Orientation Shape
Visual Encoding Variables
![Page 48: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/48.jpg)
!Position Length Area Volume Value Texture Color Orientation Shape Transparency Blur / Focus …
Visual Encoding Variables
![Page 49: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/49.jpg)
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
Information in Hue and Value
![Page 50: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/50.jpg)
Bertin’s “Levels of Organization”
Nominal Ordinal Quantitative
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
![Page 51: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/51.jpg)
Deconstructions
![Page 52: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/52.jpg)
Playfair 1786
![Page 53: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/53.jpg)
William Playfair, 1786
X-axis: year (Q) Y-axis: currency (Q) Color: imports/exports (N, O)
![Page 55: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/55.jpg)
Wattenberg’s Map of the Market
Rectangle Area: 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)
![Page 56: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/56.jpg)
Minard 1869: Napoleon’s March
![Page 57: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/57.jpg)
+
Single-Axis Composition
=
![Page 58: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/58.jpg)
Y-axis: temperature (Q)
X-axis: longitude (Q) / time (O)
Mark Composition
+
=Temp over space/time (Q x Q)
![Page 59: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/59.jpg)
Y-axis: longitude (Q)
X-axis: latitude (Q)
Width: army size (Q)
+
Mark Composition
+=
Army position (Q x Q) and army size (Q)
![Page 60: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/60.jpg)
longitude (Q)
latitude (Q)
army size (Q)
temperature (Q)
latitude (Q) / time (O)
![Page 61: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/61.jpg)
Depicts at least 5 quantitative variables. Any others?
Minard 1869: Napoleon’s March
![Page 62: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/62.jpg)
Formalizing Design
![Page 63: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/63.jpg)
Assume k visual encodings and n data attributes. We would like to pick the “best” encoding among a combinatorial set of possibilities of size (n+1)k
!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.
Choosing Visual Encodings
![Page 64: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/64.jpg)
Expressiveness A 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. !Effectiveness A 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 86]
![Page 65: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/65.jpg)
Expressiveness A 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. !Effectiveness A 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 86]
![Page 66: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/66.jpg)
A multivariate relation may be inexpressive in a single horizontal dot plot because multiple records are mapped to the same position.
Can not express the facts
![Page 67: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/67.jpg)
Expresses facts not in the data
A length is interpreted as a quantitative value.
![Page 68: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/68.jpg)
Expressiveness A 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. !Effectiveness A 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 86]
![Page 69: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/69.jpg)
Expressiveness A 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. !Effectiveness A 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 86]
![Page 70: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/70.jpg)
Congruence The structure and content of the external representation should correspond to the desired structure and content of the internal representation. !Apprehension The structure and content of the external representation should be readily and accurately perceived and comprehended.
Design Criteria [Tversky 02]
![Page 71: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/71.jpg)
!Tell the truth and nothing but the truth (don’t lie, and don’t lie by omission) !Use encodings that people decode better (where better = faster and/or more accurate)
Design Criteria Translated
![Page 72: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/72.jpg)
Mackinlay’s Ranking
Conjectured effectiveness of encodings by data type
![Page 73: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/73.jpg)
APT - “A Presentation Tool”, 1986 !User formally specifies data model and type Input: ordered list of data variables to show !APT searches over design space Test expressiveness of each visual encoding Generate encodings that pass test Rank by perceptual effectiveness criteria !Output the “most effective” visualization
Mackinlay’s Design Algorithm
![Page 74: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/74.jpg)
APT
Automatically generate chart for car data !Input variables: 1. Price 2. Mileage 3. Repair 4. Weight
![Page 75: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/75.jpg)
Limitations of APT?
![Page 76: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/76.jpg)
Does not cover many visualization techniques Networks, hierarchies, maps, diagrams Also: 3D structure, animation, illustration, … !Does not consider interaction !Does not consider semantics / conventions !Assumes single visualization as output
Limitations of APT
![Page 77: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/77.jpg)
Formal specification Data model: relational data; N,O,Q types Image model: visual encoding channels Encodings map data to visual variables !Choose expressive and effective encodings Rule-based tests of expressiveness Perceptual effectiveness rankings !Question: how do we establish effectiveness criteria? Subject of perception lectures…
Summary: Data & Image Models
![Page 78: CSE 512 - Data Visualization Data and Image Modelscourses.cs.washington.edu › courses › cse512 › 15sp › ... · Bertin’s Semiology of Graphics 1. A, B, C are distinguishable](https://reader035.vdocuments.us/reader035/viewer/2022070814/5f0daf677e708231d43b93b4/html5/thumbnails/78.jpg)
Design a static visualization for the data set. You are free to use any tools (inc. pen & paper). !Deliverables (upload via Canvas; see A1 page) Image of your visualization (PNG or JPG format) Short description + design rationale (≤ 4 paragraphs) !Due by 5:00 pm, Monday April 6.
A1: Visualization Design