DS351 DataViz Intro
DS351 DataViz Intro
Data Visualization
Farhan Khan
Outline
Visualization:
• How not to do it
• How to do static visualizations
• Making it interactive
FIRST, A CLASSIC
Charles Joseph Minard 1869
Napoleon’s March
According to Tufte: “It may well be the best statistical graphic ever drawn.”
5 variables: Army Size, location, dates, direction, temperature during retreat
More Examples
• The famous Gapminder Video, Hans Rosling:
200 Countries, 200 Years, 4 Minutes
• https://www.youtube.com/watch?feature=player_embedded&v=jbkSRLYSojo
from wtfviz.net
Another Interesting One
from wtfviz.net
Pie in the Sky?
from wtfviz.net
from wtfviz.net
Needs Fixing
from wtfviz.net
from wtfviz.net
Okay, so that’s how not to do it!
Let’s talk about how to do it well:
• Some principles
• Best practices for static visualization
• Emerging principles and tools for interactive
visualization
What is Visualization?
Definition (www.oed.com)
1. The action or fact of visualizing; the power or process
of forming a mental picture or vision of something not
actually present to the sight; a picture thus formed.
More Definitions
• “Transformation of the symbolic into the geometric”
[McCormick et al. 1987]
Evaluate
Interpret
A case for Interactivity
http://www.babynamewizard.com/
http://www.many-eyes.com
Outline
Visualization:
• How not to do it
• How to do static visualizations
• Making it interactive
Chart Selection – Andrew Abela
Chart Selection – Juice Analytics
Design Considerations
• Tables and charts
• Reduce chartjunk/tablejunk; increase data-ink ratio
• Lessons from perception: Limit the number of objects
displayed at once
• Typography: capitalization, serif/non-serif; use what your
company uses!
• Colors
• Color scheme
• Contrast, emphasis
• Use what your company uses!
• 6 Gestalt Psychology principles (1912):
• For groups of objects: proximity, similarity, enclosure, connection
• Visual representation: closure, continuity
34
Chart Design
35
Chart Design
36
Chart Design
37
Chart Design
38
Chart Design
39
Chart Design
40
Design Considerations
• Color
• By default, use your organization’s palette
• Choose colors based on the information you want to convey
• Sequential
• Diverging
• Categorical
• Use online resources to discover and record your color
schemes
• Color Brewer
• Kuler
• Colour Lovers
41
Design Considerations
• Color
42
Design Considerations
• Color
43
Design Considerations
• Color
44
Design Considerations
• Color
45
Design Considerations
• Color
46
Design Considerations
• Color
47
Visualization Tools
Tableau
The market-leading
choice for modern
business intelligence
Analytics platform
that makes it easier
for people to explore
and manage data
In high demand –
most data scientist
jobs require
experience in
Tableau
Proprietary software
– include free
version and give one
year free license for
full version to
students