Docsity

Data Visualization: Multivariate Data Sets and Representations in CS 7450 - Prof. John Sta, Assignments of Computer Science

Partial preview of the text

Download Data Visualization: Multivariate Data Sets and Representations in CS 7450 - Prof. John Sta and more Assignments Computer Science in PDF only on Docsity!

Multivariate Data Sets &

Representations

CS 7450 - Information Visualization

Jan. 21, 2003

John Stasko

Spring 2003 CS 7450 2

Agenda

• Data forms and representations

• Basic representation techniques

• Multivariate (>3) techniques

Spring 2003 CS 7450 3

Data Sets

• Data comes in many different forms

• Typically, not in the way you want it

• How is stored (in the raw)?

Spring 2003 CS 7450 4

Example

• Cars

− make

− model

− year

− miles per gallon

− cost

− number of cylinders

− weights

Spring 2003 CS 7450 5

Example

• Web pages

Spring 2003 CS 7450 6

Data Tables

• Often, we take raw data and transform it

into a form that is more workable

• Main idea:

− Individual items are called cases

− Cases have variables (attributes)

Spring 2003 CS 7450 10

Variable Types

• Three main types of variables

− N-Nominal (equal or not equal to other

values)

Example: gender

− O-Ordinal (obeys < relation, ordered set)

Example: fr,so,jr,sr

− Q-Quantitative (can do math on them)

Example: age

Spring 2003 CS 7450 11

Metadata

• Descriptive information about the data

− Might be something as simple as the type of

a variable, or could be more complex

− For times when the table itself just isn’t

enough

− Example: if variable1 is “l”, then variable

can only be 3, 7 or 16

Spring 2003 CS 7450 12

How Many Variables?

• Data sets of dimensions 1,2,3 are

common

• Number of variables per class

− 1 - Univariate data

− 2 - Bivariate data

− 3 - Trivariate data

− >3 - Hypervariate data

Spring 2003 CS 7450 13

Representation

• What’s a common way of visually

representing multivariate data sets?

• Graphs!

Spring 2003 CS 7450 14

Basic Symbolic Displays

• Graphs fl

• Charts

• Maps

• Diagrams

From:

S. Kosslyn , “Understanding charts

and graphs”, Applied Cognitive

Psychology , 1989.

Spring 2003 CS 7450 15

1. Graph

Showing the relationships between variables’

values in a data table

1st Q t r

2nd Qtr

3rd Qtr

4th Q t r

East West North

Spring 2003 CS 7450 19

Other Symbolic Displays

• Chart

• Map

• Diagram

Spring 2003 CS 7450 20

2. Chart

• Structure is important, relates entities to each other

• Primarily uses lines, enclosure, position to link entities

Examples: flowchart, family tree, org chart, ...

Spring 2003 CS 7450 21

3. Map

• Representation of spatial relations

• Locations identified by labels

Spring 2003 CS 7450 22

Choropleth Map

Areas are filled

and colored

differently to

indicate some

attribute of that

region

Spring 2003 CS 7450 23

Cartography

• Cartographers and map-makers have a

wealth of knowledge about the design

and creation of visual information artifacts

− Labeling, color, layout, …

• Information visualization researchers

should learn from this older, existing area

Spring 2003 CS 7450 24

4. Diagram

• Schematic picture of object or entity

• Parts are symbolic

Examples: figures, steps in a manual, illustrations,...

Spring 2003 CS 7450 28

Marks

• Things that occur in space

− Points

− Lines

− Areas

− Volumes

Spring 2003 CS 7450 29

Graphical Properties

• Size, shape, color, orientation...

Spatial properties Object properties

Expressing

extent

Differentiating

marks

Position

Size

Grayscale

Orientation Color

Shape

Texture

Spring 2003 CS 7450 30

Back to Data

• What were the different types of data

sets?

• Number of variables per class

− 1 - Univariate data

− 2 - Bivariate data

− 3 - Trivariate data

− >3 - Hypervariate data

Spring 2003 CS 7450 31

Univariate Data

• Representations

Bill

Mean

low Middle 50% high

Tukey box plot

Spring 2003 CS 7450 32

What goes where

• In univariate representations, we often think of the data

case as being shown along one dimension, and the

value in another

Line graph Bar graph

Y-axis is quantitative

variable

See changes over

consecutive values

Y-axis is quantitative

variable

Compare relative point

values

Spring 2003 CS 7450 33

Alternative View

• We may think of graph as representing

independent (data case) and dependent

(value) variables

• Guideline:

− Independent vs. dependent variables

Put independent on x-axis

See resultant dependent variables along y -axis

Spring 2003 CS 7450 37

Alternative Representation

Represent each variable

in its own explicit way

Spring 2003 CS 7450 38

Hypervariate Data

• Ahhh, the tough one

• Number of well-known visualization

techniques exist for data sets of 1-

dimensions

− line graphs, bar graphs, scatter plots OK

− We see a 3-D world (4-D with time)

• What about data sets with more than 3

variables?

− Often the interesting, challenging ones

Spring 2003 CS 7450 39

Multiple Views

Give each variable its own display

A B C D E

A B C D E

Spring 2003 CS 7450 40

Scatterplot Matrix

Represent each possible

pair of variables in their

own 2-D scatterplot

Useful for what?

Misses what?

Spring 2003 CS 7450 41

Chernoff Faces

Encode different variables’ values in characteristics

of human face

http://www.cs .uchicago.e d u/~wiseman/ chernoff / http://hesketh.com/schampeo/projects/Faces/chernoff.html

Cute applets:

Spring 2003 CS 7450 42

Star Plots

Var 1

Var 2

Var 4 Var 3

Var 5

Value

Space out the n

variables at equal

angles around a

circle

Each “spoke” encodes

a variable’s value

Spring 2003 CS 7450 46

Parallel Coordinates

V1 V2 V3 V4 V

Encode variables along

a horizontal row

Vertical line specifies

values

Spring 2003 CS 7450 47

Parallel Coords Example

Basic

Grayscale

Color

Spring 2003 CS 7450 48

Application

• System that uses parallel coordinates for

information analysis and discovery

• Interactive tool

− Can focus on certain data items

− Color

Taken from: A. Inselberg, “Multidimensional Detective” InfoVis ‘97, 1997.

Spring 2003 CS 7450 49

Discuss

• What was their domain?

• What was their problem?

• What were their data sets?

Spring 2003 CS 7450 50

The Problem

• VLSI chip manufacture

• Want high quality chips (high speed) and

a high yield batch (% of useful chips)

• Able to track defects

• Hypothesis: No defects gives desired chip

types

• 473 batches of data

Spring 2003 CS 7450 51

The Data

• 16 variables

− X1 - yield

− X2 - quality

− X3-X12 - # defects (inverted)

− X13-X16 - physical parameters

Spring 2003 CS 7450 55

Best Yields

Appears that

some defects

are necessary

to produce

the best chips

Non-intuitive!

Spring 2003 CS 7450 56

Xmdv

Toolsuite created

by Matthew Ward

of WPI

Includes parallel

coordinate views

Demo

Spring 2003 CS 7450 57

Parallel Cooridnates

• Technique

− Strengths?

− Weaknesses?

Spring 2003 CS 7450 58

Administratia

• Missing survey forms

• Learn names

• Computer accounts

• HW 2 due Thursday

Spring 2003 CS 7450 59

Upcoming

• Multivariate vis tools

− Reading:

Eick paper

• Visual perception

• Tufte (be reading)

Spring 2003 CS 7450 60

Sources Used

CMS book

Referenced articles

Marti Hearst SIMS 247 lectures

Kosslyn ‘89 article

A. Marcus, Graphic Design for Electronic Documents

and User Interfaces

M. Monmonier , How to Lie with Maps

W. Cleveland , The Elements of Graphing Data

http://www.csc.ncsu .edu/faculty/healey/PP/PP.html

C. H. Yu, Visualization Techniques of Different Dimensions

http://seamonkey.ed.a s u.e d u/~behrens/ asu/reports/ compre/comp1.html