Principles of Data Visualization - 2

Week 2
πŸ’» 🧰 πŸ“Š πŸ₯³

Jessica Cooperstone, Ph.D.

Questions from last week?

Office hours

Mondays, 4-5pm, Pelotonia Research Center or via Zoom

The data visualization process

A figure with three circles, and arrows between the first and second, and second and third. First circle says data, middle circle says analyst, and third right-most circle says learner. In between data and analyst= is explore, analyze and learn, and in between analyst and learner is explain, explore and persuade.

Figure adapted from one by Rick Scavetta

There may be a data dinosaur πŸ¦–

A gif of 13 different datasets (include one who's points make the shape of a dinosaur) that all have the same mean and standard deviation, but have very different distributions

Figure by Alberto Cairo

What are we trying to visualize?

  • Amounts
  • Distributions
  • Proportions
  • Associations
  • x-y relationships
  • Geospatial data
  • Uncertainty

Chart types

Chart suggestions, a thought starter. Shows how different plot types can be used if you want to compare across groups, show a relationship, understand a distribution, or undrestand compositional differences.

Small changes can make a big difference (and some examples)

Order axes by something meaningful

Encoding data with easy-to-process visual clues

Length is easier to see than angles or areas.

Encoding data with easy-to-process visual clues

Length is easier to see than angles or areas.

Color scales should be intuitive and accessible

Figure with two maps of Georgia, depciting COVID cases per 100K people from July 2, 2020 and July 17, 2020. The color scale goes from white, to light blue, to dark blue, then to red, and the number of people in the different bins are not the same across plots.

These are not.

Show your data if you can

#barbarplots

Know when to include zero

Figure showing the average height of women (y-axis) from different countries (x-axis). But the y-axis only goes from 5 foot to 5 foot 7 inches, making women from India look tiny and women from Latvia seem enormous.

Cut your axes with care

Make it easy to compare 🍝

Think about the best color scale to use

Figuring showing the difference between sequential, categorical, and diverging color scales. Figure by Lisa Charlotte Muth from https://www.datawrapper.de/blog/which-color-scale-to-use-in-data-vis

Figure by Lisa Charlotte Muth and from datawrapper.de

Make sure your plot has a clear message πŸ•

Figure showing the average height of women (y-axis) from different countries (x-axis). But the y-axis only goes from 5 foot to 5 foot 7 inches, making women from India look tiny and women from Latvia seem enormous.

Simpler is better

No unnecessary words in a sentence, no unnecessary sentences in a paragraph. Keep only the parts of the plot that serve a purpose.

A very ugly 3D plot showing life expectancy across the 5 continents where the 3D makes it hard to read, it has duplicative legends, and meaningless colors.

From https://socviz.co/lookatdata.html

Be consistent among figures

  • Use the same color schemes/shapes across figures

  • If you’re ordering/grouping, do so in the same manner

Oral presentation and publication figures might not be the same

Some take home messages

What should you think about when making visualizations?

  1. Who are you talking to? πŸ“’

  2. What are you trying to convey? πŸ“

  3. How can you fairly represent your data? 🚯

Next class - discussion of module 1 assignment

Submit (through Carmen) by Monday 9/7/2026 at 11:59pm:

  • 1 good visualization (and a paragraph on why its good)
  • 1 bad visualization (and a paragraph on why its bad)

Be specific - talk about how aesthetics you see are linked to your understanding of the figure, and whether this is effective or not.

We will go through these next week. Mia will pick her favorite good and the bad visualizations and there will be prizes! πŸŽ‰