Data Visualization

Seeing the Story in the Data and Learning to Effectively Communicate It to Others

Tyler Rinker

What You Will Learn

How to design graphics to:

  • See patterns in data
  • Communicate the data



What You Will Not Learn

  • Specific programs to create graphics

Graphing Quiz (Question 1)

What is the best way to display percentages (parts of a whole)?


Pies are for eating

There is no best way. A dot plot is a reasonable choice but a pie chart should be avoided.

Graphing Quiz (Question 2)

plot of chunk unnamed-chunk-1

What are all the problems with this graph?

Submit and Compare Clear

Graphing Quiz (Question 3)

What is the difference between charts, tables, graphs, and diagrams?


Charts are the umbrella

Diagrams, tables and graphs are all chart types.
Tables - raw numeric value arranged in columns and rows
Graph - visual representation of information found in tables
Diagrams - visual representation of a model/schematic

Graphing Quiz (Question 4)

plot of chunk unnamed-chunk-3

What is the problem with this graph?

Submit and Compare Clear

Graphing Quiz (Question 5)

What is the reason(s) for displaying data in a graph?


Why do you like to view a graph over a table?

Graphs encoded more information into less bits. In other words data represented visually allows more information to be analyzed in the working memory.

Graphing Quiz (Question 6)

plot of chunk unnamed-chunk-4

What is a major flaw in this graph? What could be done to make this graph more accessible to more people?

Submit and Compare Clear

Graphing Quiz (Question 7)

What are the 2 major goals to accomplish in designing an effective graph?


It's a conscious/unconscious thing.

we need to know how to use preattentive visual attributes to grab and direct our readers' attention and how to work within the limits of working memory.

                                                                                                                                                            Few (2012, p. 67)

Why Learn to Effectively Graph?



Visual representations not only make the patterns, trends, and exceptions in numbers visible and understandable, they also extend the capacity of memory, making available in front of our eyes what we couldn't otherwise hold all at once in our minds. In simple terms information visualization helps us think.

                                                                                                                                                            Few (2009, p. 6)

Why Learn to Effectively Graph?



Why Learn to Effectively Graph?

An Example of The Power of the Graph



An Example of The Power of the Graph





Graphing History

What Happened?

                                                                                           Few (2012, p. 227)

Press p to see a clearer version of the text



Building a Common Language

  • Uses of Graphs

  • Charts, Graphs, Tables, and Diagrams

  • Quantitative, Categorical

  • Geoms

Geoms

plot of chunk unnamed-chunk-8

Building a Common Language

Parts of a graph


4 components of graphs:

  1. Primary data component design (bars, dots, etc.)
  2. Secondary data component design (text, grid lines, scales, legends)
  3. Non-data component design (background)
  4. Chart junk (Tufte, 2001)

plot of chunk unnamed-chunk-9




Rules of Perception

                  A                                                B

plot of chunk unnamed-chunk-10

Thanks to Dale Steinhardt for his help with the above graphic

Rules of Perception

                  A                                                B

plot of chunk unnamed-chunk-11

Thanks to Dale Steinhardt for his help with the above graphic

How the Eye/Brain System Works

How the Eye/Brain System Works

An Imperfect Metaphor...

  • Buffer
  • Working Memory/RAM
  • Hard Drive

  • Iconic
  • Working Memory
  • Long Term

Iconic

  • Temporary < 1 second
  • Preattentive
  • Decision (Passing to working memory)

Working Memory

  • Limited (3-4 chunks/bits)
  • Temporary 3 seconds to a few hours (with rehearsal)

Long Term

  • The Goal
  • Not the Focus







                                                                                           Few (2012, p. 67)

Preattentive Attributes




Preattentive Attributes




Preattentive Attributes Aren't Like Jello

plot of chunk unnamed-chunk-12

Preattentive Attributes Aren't Like Jello

plot of chunk unnamed-chunk-13

Preattentive Attributes Aren't Like Jello

plot of chunk unnamed-chunk-14

Preattentive Attributes Aren't Like Jello

plot of chunk unnamed-chunk-15

Preattentive Attributes Aren't Like Jello

plot of chunk unnamed-chunk-16








DON'T

Use 3-d? (Reason #1)

Humans are not very good at distinguishing 3 dimensional space.

DON'T

Use 3-d? (Reason #2)





Occlusion - geoms are obscured.

plot of chunk unnamed-chunk-17

DON'T

Use 3-d? (Reason #3)

The 3rd dimension distracts from the data.


plot of chunk unnamed-chunk-18

DO

A Better Approach to the 3rd Dimension...

plot of chunk unnamed-chunk-19

Press p to see a faceted approach to 3+ variables.

DO

Horizontal (If It Makes Sense)

plot of chunk unnamed-chunk-21

plot of chunk unnamed-chunk-22

DO

Order Bars

plot of chunk unnamed-chunk-23

plot of chunk unnamed-chunk-24

DON'T

Use Pies (for Percentages)

plot of chunk unnamed-chunk-25

plot of chunk unnamed-chunk-26

DO

Use Dot Plots (for Percentages)

plot of chunk unnamed-chunk-27




plot of chunk unnamed-chunk-28

DO

Eliminate a Legend (If Reasonable)

plot of chunk unnamed-chunk-29

plot of chunk unnamed-chunk-30

DON'T

Use Red/Green Together

Red + Green = Brown

plot of chunk unnamed-chunk-31

plot of chunk unnamed-chunk-32

DON'T

Use Red/Green Together

plot of chunk unnamed-chunk-33

plot of chunk unnamed-chunk-34

DON'T

Use Pattern Fills

plot of chunk unnamed-chunk-35

Press p for a pattern fill illusion

plot of chunk unnamed-chunk-36




Graphing Quiz (Question 1)

What is the best way to display percentages (parts of a whole)?


Pies are for eating

There is no best way. A dot plot is a reasonable choice but a pie chart should be avoided.

Graphing Quiz (Question 2)

plot of chunk unnamed-chunk-37

What are all the problems with this graph?

Submit and Compare Clear

Graphing Quiz (Question 3)

What is the difference between charts, tables, graphs, and diagrams?


Charts are the umbrella

Diagrams, tables and graphs are all chart types.
Tables - raw numeric value arranged in columns and rows
Graph - visual representation of information found in tables
Diagrams - visual representation of a model/schematic

Graphing Quiz (Question 4)

plot of chunk unnamed-chunk-39

What is the problem with this graph?

Submit and Compare Clear

Graphing Quiz (Question 5)

What is the reason(s) for displaying data in a graph?


Why do you like to view a graph over a table?

Graphs encoded more information into less bits. In other words data represented visually allows more information to be analyzed in the working memory.

Graphing Quiz (Question 6)

plot of chunk unnamed-chunk-40

What is a major flaw in this graph? What could be done to make this graph more accessible to more people?

Submit and Compare Clear

Graphing Quiz (Question 7)

What are the 2 major goals to accomplish in designing an effective graph?


It's a conscious/unconscious thing.

we need to know how to use preattentive visual attributes to grab and direct our readers' attention and how to work within the limits of working memory.                                                                                                                                                             Few (2012, p. 67)

References

Andy Clark, (2008) Pressing the Flesh: A Tension in the Study of the Embodied, Embedded Mind?*. Philosophy and Phenomenological Research 76 (1) 37-59-NA 10.1111/j.1933-1592.2007.00114.x

Stephen Few, (2009) Now you see it: Simple visualization techniques for quantitative Analysis.

Stephen Few, (2012) Show me the numbers: Designing tables and graphs to enlighten.

Edward Tufte, (2001) The Visual Display of Quantitative Information.

Colin Ware, (2013) Information visualization: Perception for design.