rebeccabarter@berkeley.edu
April 2018
https://www.nytimes.com/interactive/2015/09/04/world/europe/europe-refugee-distribution.html
http://www.poppyfield.org/
Use packages that create common visualization types (e.g. ggplot2)
Data source: gapminder data
How to be the best data visualizer you can be (using ggplot2)!
20%
of children had a
traditional stay-at-home mom
in 2012, compared to 41% in 1970
Example source: Storytelling with data, Cole Knafflic
Data source: gapminder data
Remove redundant color
Remove background grid
Increase font size
Arrange in decreasing order
Remove y-axis gap
Replace y-axis with text
Remove x-label
Highlight Polio
Add title
(examples from Ann K Emery: http://annkemery.com/chart-colors/)
The fewer colors the better: avoid redundancy &
Choose similar colors for similar things and different colors for different things
Use different shades to indicate magnitude
Lighter colors imply less importance than darker colors
Example source: http://annkemery.com/chart-colors/
Coolors: https://coolors.co/app
ColorBrewer: http://colorbrewer2.org/
The color index book by Jim Krause
A nice post by Ann K. Emery:
http://annkemery.com/clustered-bar-chart/
Slope plot
Dot plot
All figures made using ggplot2
Think before you plot
Every plot should have a message (use color, text & size to highlight it)
Avoid the defaults and remove clutter
Choose color wisely
Be brave enough to move away from the standard plotting types: be creative!
Think before you plot
Every plot should have a message (use color, text & size to highlight it)
Avoid the defaults and remove clutter
Choose color wisely
Be brave enough to move away from the standard plotting types: be creative!
Showing changes over time
Data source: gapminder data
comparing two continuous values
Data source: gapminder data
what makes them so effective? What could be improved?
The Data Team @ The Economist
by Jonathan Schwabish
by Nadieh Bremer, Zan Armstrong, Scientific American
https://blog.datawrapper.de/choroplethmaps/
https://beta.observablehq.com/@anbnyc/the-space-between
http://flowingdata.com/2015/08/11/real-chart-rules-to-follow/
slides:
http://slides.com/rebeccabarter/creating-effective-visualizations/fullscreen
code for ggplot figures:
https://github.com/rlbarter/visualization-examples