Data visualizations

Jimmy Cloutier

Data Journalist / Pittsburgh Post-Gazette

Why use graphics?

Show scale

Compare

Track change over time

Reveal patterns and outliers

Reveal clusters

Show distribution

Uncover relationships

Explain a process

Reconstruct an event

Best practices

Start with a statement

Simple is usually better

Cut the clutter

Use color with purpose

Headline and chatter matter

Use annotations and clear labels

Design for phones first

Cite sources

Graphics should stand on their own

Simple beats clever.

Immunity Lost

A Post-Gazette investigation published in April found that in 2024, one in four kindergarten classrooms in Pennsylvania reported vaccination rates below the threshold for herd immunity for measles, leaving hundreds of classrooms vulnerable to the spread of the virus.

Driving the trend: thousands of parents seeking exemptions from vaccine requirements.

Published in partnership with Frontline (PBS).

Read the project

What we want to show

Schools with low vaccination rates are scattered across Pennsylvania, leaving pockets of the state vulnerable to outbreaks.

Mapping vaccination rates

  • The finding is in the headline. Readers know the takeaway before reading the map.
  • The map shows scale. Hundreds of dots show this is a statewide problem, not a local one.
  • It avoids clutter. By highlighting only the relevant data points — the schools where vaccination rates are below herd immunity — the map is easy to read at a glance.
  • Tooltips aren’t just garnish. The pop-ups add each school’s change since 2019 and its exemption rate.

What we want to show

Nonmedical exemptions rose sharply during the COVID-19 pandemic.

Rising nonmedical exemptions

  • Headline spells out the trend. “Nearly doubled” tells readers exactly what the line shows.
  • Easy to read at a glance. Just two lines, with the key values labeled on the chart.
  • Color prioritizes information. Green draws the eye to the Pennsylvania line first.
  • Multiple points of comparison. The chart compares nonmedical exemption rates over time as well as between Pennsylvania and the national average.

Same story, different focus

  • The last chart asked: How have exemption rates changed in Pennsylvania?
  • This one asks: How does Pennsylvania stack up against other states?
  • Pick the version that serves your story. Both are accurate and draw on similar data, but each makes a different point.

Walkthrough

Building the chart in Datawrapper

Step 1: Upload the data

  • Connecting to a Google Sheet allows you (or your team) makes it easy to edit data. Datawrapper pulls updated data automatically (just note that you have to hit republish to reflect the changes).

Datawrapper's upload screen with the Connect Google Sheet option selected

Step 2: Check the data

  • Check that the data is complete and in the correct shape.
  • Watch the colors. Numbers should be blue and dates green. Red cells flag a problem; dashes mean no data.

Datawrapper's Check & Describe screen with one row per year and one column per state

Step 3: Visualize

  • Pick the right chart.
  • Refine and annotate the data. Here we use color to higlight data for Pennsylvania and label the lines directly.
  • Write a clear, concise headline and chatter.
  • Add footnotes and source for the data.

Datawrapper's Visualize screen with the Lines chart type selected and a preview of the finished chart

Step 4: Publish

  • Publish to get an embed code for your story.
  • Export a PNG for print or social media.
  • Republish after any change. The live chart won’t update until you do.

Datawrapper's Publish & Embed screen with a Publish now button, export options and a preview of the finished chart