DATA ABSTRACTION & INTRO TO TABLEAU

65
cs6630 | September 4 2014 1 Miriah Meyer University of Utah DATA ABSTRACTION & INTRO TO TABLEAU

Transcript of DATA ABSTRACTION & INTRO TO TABLEAU

Page 1: DATA ABSTRACTION & INTRO TO TABLEAU

cs6630 | September 4 2014

1

Miriah Meyer University of Utah

DATA ABSTRACTION & INTRO TO TABLEAU

Page 2: DATA ABSTRACTION & INTRO TO TABLEAU

administrivia . . .

2

Page 3: DATA ABSTRACTION & INTRO TO TABLEAU

3

-design critiques due tonight

-first assignment out today

- there *might* be 3 seats available… - I will be teaching again next fall!

Page 4: DATA ABSTRACTION & INTRO TO TABLEAU

last time . . .

4

Page 5: DATA ABSTRACTION & INTRO TO TABLEAU

Wandell, “Foundations of Vision” (left)

120 million rods 5-6 million cones

David R. Williams, Univ. of Rochester (right)5

Page 6: DATA ABSTRACTION & INTRO TO TABLEAU

Cone Response

HyperPhysics, Georgia State University6

Page 7: DATA ABSTRACTION & INTRO TO TABLEAU

Ware 20107

Page 8: DATA ABSTRACTION & INTRO TO TABLEAU

Takeaway

Our visual system sees differences, not absolute values, and is attracted to edges. !

Maximize the contrast with the background if the outlines of shapes are important.

Page 9: DATA ABSTRACTION & INTRO TO TABLEAU

on-center off-center

retinal ganglion cells

source: wikipedia

Page 10: DATA ABSTRACTION & INTRO TO TABLEAU

D. Purves and R. B. Lotto

Cornsweet Illusion

Page 11: DATA ABSTRACTION & INTRO TO TABLEAU

D. Purves and R. B. Lotto

Cornsweet Illusion

Page 12: DATA ABSTRACTION & INTRO TO TABLEAU

WEBER’S LAW

12

we judge based on relative, not absolute, differences

Page 13: DATA ABSTRACTION & INTRO TO TABLEAU

13 Wong 2010

INTERACTION OF COLOR

Page 14: DATA ABSTRACTION & INTRO TO TABLEAU

BASIC POPOUT CHANNELS

Ware 200814

Page 15: DATA ABSTRACTION & INTRO TO TABLEAU

TakeawayWe can easily see objects that are different in color and shape, or that are in motion. !

Use color and shape sparingly to make the important information pop out.

Page 16: DATA ABSTRACTION & INTRO TO TABLEAU

Gestalt principles- similarity: things that look like each other (size, color, shape) are related

- proximity: things that are visually close to each other are related

- connection: things that are visually connected are related

- continuity: we complete hidden objects into simple, familiar shapes

- closure: we see incomplete shapes as complete - figure / ground: elements are perceived as either figures or background

- common fate: elements with the same moving direction are perceived as a unit

Page 17: DATA ABSTRACTION & INTRO TO TABLEAU

17

-data abstraction

- intro to Tableau (by Alex)

Page 18: DATA ABSTRACTION & INTRO TO TABLEAU

data abstraction

18

the what part of an analysis that pertains to the data

translation of domain-specific terms into words that are as generic as possible

Page 19: DATA ABSTRACTION & INTRO TO TABLEAU

type vs semantics

19

Page 20: DATA ABSTRACTION & INTRO TO TABLEAU

data types

Page 21: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

Page 22: DATA ABSTRACTION & INTRO TO TABLEAU

22

Fieldattribute

itemcell

Page 23: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

Page 24: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

Page 25: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

Page 26: DATA ABSTRACTION & INTRO TO TABLEAU
Page 27: DATA ABSTRACTION & INTRO TO TABLEAU
Page 28: DATA ABSTRACTION & INTRO TO TABLEAU
Page 29: DATA ABSTRACTION & INTRO TO TABLEAU

© Weiskopf/Machiraju/Möller

Data Structures

• Grid types– Grids differ substantially in the cells (basic

building blocks) they are constructed from and in the way the topological information is given

scattered uniform rectilinear structured unstructured

grid types

Page 30: DATA ABSTRACTION & INTRO TO TABLEAU

grid choices impact how continuous data is interpreted

two key considerations:sampling, or the choice of where attributes are measuredinterpolation, or how to model the attributes in the rest of space

Page 31: DATA ABSTRACTION & INTRO TO TABLEAU

grid choices impact how continuous data is interpreted

two key considerations:sampling, or the choice of where attributes are measuredinterpolation, or how to model the attributes in the rest of space

Interpolate HereInterpolate Here Interpolate HereInterpolate Here

Page 32: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

Page 33: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

scal

ar

Page 34: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

scal

arve

cto

r

Page 35: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

scal

arve

cto

rte

nso

r

Page 36: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

Page 37: DATA ABSTRACTION & INTRO TO TABLEAU

[Bronson 2014]

Page 38: DATA ABSTRACTION & INTRO TO TABLEAU

dataset types

Page 39: DATA ABSTRACTION & INTRO TO TABLEAU

attribute types

Page 40: DATA ABSTRACTION & INTRO TO TABLEAU

attribute types

no implicit ordering

Page 41: DATA ABSTRACTION & INTRO TO TABLEAU

attribute types

no implicit ordering

Page 42: DATA ABSTRACTION & INTRO TO TABLEAU

attribute types

no implicit ordering

Page 43: DATA ABSTRACTION & INTRO TO TABLEAU

attribute types

no implicit orderingmeaningful magnitude, can do arithmetic

Page 44: DATA ABSTRACTION & INTRO TO TABLEAU

attribute types

no implicit orderingmeaningful magnitude, can do arithmetic

Page 45: DATA ABSTRACTION & INTRO TO TABLEAU

attribute types

no implicit orderingmeaningful magnitude, can do arithmetic

Page 46: DATA ABSTRACTION & INTRO TO TABLEAU

351 = Quantitative2 = Nominal3 = Ordinal

quantitative ordinal categorical

Page 47: DATA ABSTRACTION & INTRO TO TABLEAU

361 = Quantitative2 = Nominal3 = Ordinal

quantitative ordinal categorical

Page 48: DATA ABSTRACTION & INTRO TO TABLEAU

attribute types

no implicit orderingmeaningful magnitude, can do arithmetic

Hierarchical

Page 50: DATA ABSTRACTION & INTRO TO TABLEAU

attribute semanticskey vs value

special

Page 51: DATA ABSTRACTION & INTRO TO TABLEAU

attribute semanticskey vs value

flat

multidimensional

tab

les

special

Page 52: DATA ABSTRACTION & INTRO TO TABLEAU

attribute semanticskey vs value

flat

multidimensional

tab

les

fiel

ds

special

Page 53: DATA ABSTRACTION & INTRO TO TABLEAU

attribute semantics

what makes time special?

temporal

special

Page 54: DATA ABSTRACTION & INTRO TO TABLEAU

abstraction exercise . . .

41

Page 55: DATA ABSTRACTION & INTRO TO TABLEAU

42

Page 56: DATA ABSTRACTION & INTRO TO TABLEAU

43

DERIVED ATTRIBUTES-derived attribute: compute from originals

- simple change of type -acquire additional data -complex transformation - transformation is abstraction choice

Page 57: DATA ABSTRACTION & INTRO TO TABLEAU

44

DATA MODEL vs CONCEPTUAL MODEL

-data model: mathematical abstraction (data abstraction) - set with operations, eg. floats with * / - +

!

-conceptual model: mental construction (semantics) - includes semantics, supports reasoning !

-conceptual model motivates derived data (data abstraction choices)

Page 58: DATA ABSTRACTION & INTRO TO TABLEAU

45

EXAMPLE

- from data model . . . -32.52, 54.06, -17.35, . . . (floats)

-using conceptual model . . . - temperature

-to new data abstraction. -continuous to 2 significant figures (Q) -hot, warm , cold (O) -above freezing, below freezing (C)

Page 59: DATA ABSTRACTION & INTRO TO TABLEAU

another abstraction exercise . . .

46

Page 60: DATA ABSTRACTION & INTRO TO TABLEAU

47

Page 61: DATA ABSTRACTION & INTRO TO TABLEAU

L5. Visual Encodings

48

REQUIRED READING

Page 62: DATA ABSTRACTION & INTRO TO TABLEAU

49

Page 63: DATA ABSTRACTION & INTRO TO TABLEAU

50

Page 64: DATA ABSTRACTION & INTRO TO TABLEAU

51

Page 65: DATA ABSTRACTION & INTRO TO TABLEAU

Intro to Tableau

52