Graphs and Charts - WordPress.com€¦ · • Learn about different statistical data graphs/charts...

Post on 12-Oct-2020

0 views 0 download

Transcript of Graphs and Charts - WordPress.com€¦ · • Learn about different statistical data graphs/charts...

INFOVIS8803DV > SPRING 18

(STATISTICAL) GRAPHS & CHARTS

Prof. Rahul C. Basole

CS/MGT 8803-DV > January 24, 2018

INFOVIS8803DV > SPRING 18

HW1: DataVis Examples

INFOVIS8803DV > SPRING 18

HW1: DataVis Examples

• Uber and Lyft in SF

– http://tncstoday.sfcta.org/

• Triple Play

– https://public.tableau.com/views/TriplePlayArt/Art?:embed=y&:display_count=no

&:showVizHome=no

• Medal Count

– http://www.nytimes.com/interactive/2008/08/04/sports/olympics/20080804_MED

ALCOUNT_MAP.html

• Corporate Pipeline by Gender

– https://www.scoopnest.com/user/ValaAfshar/650670269342875648

INFOVIS8803DV > SPRING 18

Tumblr

• 48 students* = 48 vis-of-the-day submissions

• We will use a random order

• We will start next week

• Schedule will be on Canvas

INFOVIS8803DV > SPRING 18

Project Pitch

INFOVIS8803DV > SPRING 18

Today’s Agenda

• Learn about different statistical data graphs/charts

• Develop skill at choosing graph(s) to display different types of data

and data sets

• Learn approaches to address overplotting

• Understand concept of “banking to 45 degree”

INFOVIS8803DV > SPRING 18

INFOVIS8803DV > SPRING 18

Scenario

you@company.com

sue_the_manager@company.com

URGENT: Need summary of performance reviews

I’ve interviewed three people for the new Customer Service Manager position and need to

summarize their qualifications for Jeff [the big boss]. He wants to choose the best candidate as

objectively as possible. After the colossal failure of my last hire, he no longer trusts my instincts.

I’ve attached a spreadsheet that rates each of the candidates according to the six areas of

competence that we use for performance reviews (experience, communication, etc.). Please

create a report that I can pass on to Jeff that presents my findings.

I’ll need it on my desk first thing tomorrow

Thanks,

Sue

performancereviews.xls

INFOVIS8803DV > SPRING 18

Scenario

INFOVIS8803DV > SPRING 18

Scenario

INFOVIS8803DV > SPRING 18

Communicating Quantitative Data: A Design Process

There are six fundamental steps you should consider

1. Determine your message and identify your data

2. Determine if a table, or graph, or both is needed to communicate your message

The remaining steps apply only if one or more graphs are required

3. Determine the best means to encode the values

4. Determine where to display each variable

5. Determine the best design for the remaining objects

– Determine the range of the quantitative scale

– If a legend is required, determine where to place it

– Determine if tick marks are required and how many

– Determine the best location for the quantitative scale

– Determine if grid lines are required

– Determine what descriptive text is needed

6. Determine if particular data should be featured above the rest, and if so, how

Stephen Few “Effectively Communicating Numbers”

http://www.perceptualedge.com/articles/Whitepapers/Communicating_Numbers.pdf

INFOVIS8803DV > SPRING 18

Some General Concepts

Table vs. Graph

INFOVIS8803DV > SPRING 18

Some General Concepts

Recall: There are Different Data Types

INFOVIS8803DV > SPRING 18

Some General Concepts

Common Relationships in Quantitative Data

CorrelationDistributionDeviation

Part-to-WholeRankingTime-Series

INFOVIS8803DV > SPRING 18

Four types of objects work best for encoding quantitative values in graphs:

Points, Lines, Bars, Boxes

INFOVIS8803DV > SPRING 18

Four types of objects work best for encoding quantitative values in graphs:

Points, Lines, Bars, Boxes

INFOVIS8803DV > SPRING 18

Scatterplot for Correlation Analysis

INFOVIS8803DV > SPRING 18

Scatterplot Matrix (“Crosstab”)

INFOVIS8803DV > SPRING 18

Four types of objects work best for encoding quantitative values in graphs:

Points, Lines, Bars, Boxes

INFOVIS8803DV > SPRING 18

Line Graphs

When to use:

When quantitative values change during a continuous period of time

more on this in our Temporal & Sequential Data lecture

INFOVIS8803DV > SPRING 18

Line Graphs

Add Reference Lines

INFOVIS8803DV > SPRING 18

Crosstab

INFOVIS8803DV > SPRING 18

Which is increasing at a faster rate,

hardware sales or software sales?

Both at same rate, 10%

Log scale shows this

INFOVIS8803DV > SPRING 18

Same chart, just drawn at

different aspect ratios.

INFOVIS8803DV > SPRING 18

People interpret the diagrams

better when lines are around

45°, not too flat, not too steep

“Banking to 45°”

INFOVIS8803DV > SPRING 18

Patterns

Daily sales Average per day

p. 176

INFOVIS8803DV > SPRING 18

Four types of objects work best for encoding quantitative values in graphs:

Points, Lines, Bars, Boxes

INFOVIS8803DV > SPRING 18

When to use:

When you want to support the comparison of individual values

Bar Charts

INFOVIS8803DV > SPRING 18

Bar Charts

Vertical vs. Horizontal Bars

INFOVIS8803DV > SPRING 18

Bar Charts

Reference Lines

INFOVIS8803DV > SPRING 18

Four types of objects work best for encoding quantitative values in graphs:

Points, Lines, Bars, Boxes

INFOVIS8803DV > SPRING 18

Boxplots

INFOVIS8803DV > SPRING 18

Many other charts

Goal: Maximize Task-Data-Visualization Fit

Time-Series Analysis

INFOVIS8803DV > SPRING 18

Many other charts

Goal: Maximize Task-Data-Visualization Fit

Distribution Analysis

Strip Plot

HistogramFrequency Plot

Stem-and-Leaf Plot

INFOVIS8803DV > SPRING 18

Communicating Quantitative Data: A Design Process

Determine the best means to encode the values

INFOVIS8803DV > SPRING 18

INFOVIS8803DV > SPRING 18

Communicating Quantitative Data: A Design Process

Determine where to display each variable

INFOVIS8803DV > SPRING 18

Communicating Quantitative Data: A Design Process

Determine the best design for the remaining objects

Determine the Range for the Quantitative Scale

INFOVIS8803DV > SPRING 18

Communicating Quantitative Data: A Design Process

Determine the best design for the remaining objects

If a Legend Is Required, Determine Where to Place It

INFOVIS8803DV > SPRING 18

Communicating Quantitative Data: A Design Process

Determine the best design for the remaining objects

Determine If Grid Lines Are Required

INFOVIS8803DV > SPRING 18

Too many data points.

Chart suffers from

data occlusion.

What are possible

techniques to

overcome ?

Communicating Quantitative Data: A Design Process

Determine the best design for the remaining objects

Overplotting

INFOVIS8803DV > SPRING 18

Overplotting Solutions

• Reducing the number of values

– Aggregating the data

– Filtering the data

– Breaking the data into a series of separate graphs

– Statistically sampling the data

• Reducing size of data objects

• Removing all fill color from data objects

• Changing the shape of data objects

• Jittering data objects*

INFOVIS8803DV > SPRING 18

Communicating Quantitative Data: A Design Process

Determine if particular data should be featured above the rest, and if so, how

INFOVIS8803DV > SPRING 18

Real-World Dashboards

Multiple Concurrent Views

INFOVIS8803DV > SPRING 18

Ok, let me get some feedback …

INFOVIS8803DV > SPRING 18

What’s your Graph Design IQ?

• Let’s take a test.

• http://www.perceptualedge.com/files/GraphDesignIQ.html

INFOVIS8803DV > SPRING 18

Reminder: Tableau Lab Tutorial

• Download and install Tableau

– Use the activation code posted on Canvas

• Download sample data file*

• Bring your laptop to class (hands-on tutorial)