How is a graphic like pumpkin pie? A framework for analysis and critique of visualisations.

567 views

Published on

Presenter: Hadley Wickham
BELIV 2010 Workshop
http://www.beliv.org/beliv2010/

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
567
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How is a graphic like pumpkin pie? A framework for analysis and critique of visualisations.

  1. 1. How is a graphic like pumpkin pie? The four C’s of critiquing a graphic Hadley Wickham Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University
  2. 2. Content
  3. 3. Troops: number, location, direction, group Cities: location, name Temperatures: location, date, temperature Rivers?
  4. 4. Construction
  5. 5. Troops: drawn with a line, position given by location, size by number of troops, colour by direction, broken into groups
  6. 6. troops <- read.csv("minard-troops.csv") cities <- read.csv("minard-cities.csv") ggplot(cities, aes(long, lat)) + geom_path(aes(size = survivors, colour = direction, group = interaction(group, direction)), data = troops) + geom_text(aes(label = city), hjust = 0, vjust = 1, size = 4) # Polish appearance last_plot() + scale_x_continuous("", limits = c(24, 39)) + scale_y_continuous("") + scale_colour_manual(values = c("grey50","red")) + scale_size(to = c(1, 10))
  7. 7. Moscou survivors 55.5 Polotzk Chjat Mojaisk 100,000 Witebsk Tarantino Gloubokoe Wixma 200,000 55.0 Kowno Malo−Jarosewii Dorogobouge Smolensk 300,000 Wilna 54.5 Orscha Smorgoni Bobr direction Moiodexno Studienska A 54.0 R Minsk Mohilow 24 26 28 30 32 34 36
  8. 8. Context
  9. 9. Consumption
  10. 10. Troops: drawn with a line, position given by location, size by number of troops, colour by direction, broken into groups
  11. 11. This work is licensed under the Creative Commons Attribution-Noncommercial 3.0 United States License. To view a copy of this license, visit http:// creativecommons.org/licenses/by-nc/3.0/us/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

×