TidyTuesday 2020-02-18: Turning a 130-country carbon footprint table into two simple charts

Hi everyone,

This is my first TidyTuesday post. It comes from my course Applied Data Science in Organization and Leadership at Teachers College, Columbia University with Prof. Dr. Bowers. I took the 2020 week 8 dataset (Food Consumption and CO2 Emissions, from the nu3 Food Carbon Footprint Index 2018, cleaned for TidyTuesday by Kasia Kulma) and tried to improve on the original visualization.

The original
The nu3 index is a large ranking table: 130 countries, each with 11 foods and 2 measures (kg eaten and kg CO2), more than 20 numeric columns. The reader has to find the story one cell at a time.

The message
What we eat matters far more for the climate than how much we eat, and animal products, especially beef and lamb, drive most food emissions.

Figure 1: What one kilo of food costs the climate
A Cleveland dot plot (lollipop) of CO2 per kg of each food, sorted on one common scale. A kilo of beef (30.9 kg CO2) or lamb (35.0) emits more than 100 times as much as a kilo of wheat (0.2). I used a log scale because the values span such a wide range, and printed the actual value next to each dot so the log scale does not hide the size of the gap.

Figure 2: Countries with more plant-based diets have smaller food footprints
One dot per country (130 in total). The larger the plant share of the diet (by weight), the smaller the food carbon footprint (correlation about -0.65). Ten countries are highlighted and labelled directly with ggrepel, the other 120 stay light gray.

Design choices

  • Position on a common, sorted scale instead of reading numbers in a table (Cleveland & McGill; Wilke 2019; Healy 2026)
  • One colorblind-safe color code in both figures: animal products in orange, plant products in green (Okabe-Ito colors)
  • Direct labels instead of a legend
  • Light gray for context, color only for the story, minor gridlines removed
  • Titles that state the finding

What was tricky

  • The emissions column is spelled co2_emmission, so I renamed it right away.

  • The emissions are modelled, not measured: co2 / consumption is almost identical for every country within a food, because nu3 used a fixed emission factor per food. A country-by-food scatter would just show straight lines. That is why Figure 1 shows the factor per food, and Figure 2 focuses on diet composition.

  • The dataset has only 11 foods (no fruit or vegetables, and soy is the only legume), so the plant share understates real plant consumption. I labelled the axis to say exactly what it measures.

  • Labelling all 130 countries was unreadable, so I labelled a few and used geom_text_repel().

    Data: tidytuesday/data/2020/2020-02-18 at main · rfordatascience/tidytuesday · GitHub

I would love feedback on two things: is the log scale in Figure 1 easy to read, and would you highlight different countries in Figure 2?

Thanks!
Christin

1 Like