HW7 — Arrange Tables

loading…

Q1 B — CO2 per capita by country (2023), three orderings

Q1 C — Stacked bars: CO2 per capita, country × year (2016–2023)

Each bar = sum of the 8 yearly per-capita values (tonnes per person over the 8 years). Sorted by the total.

Q1 C — Grouped bars: CO2 per capita, country × year (top 15 countries)

Same two keys, side by side. Only the top 15 countries (by 8-year total), because 50 × 8 = 400 bars did not fit.

Q2 A — Heatmap: renewable share (%) by country × year, alphabetical rows

Q2 B — Same heatmap, rows sorted by row mean (high to low)

Q3 A — Radial bar chart: CO2 per capita 2023, top 12 countries

Countries placed alphabetically clockwise from the top (same order as the default bar chart).

Q3 B — Parallel coordinates (2023, one line per country, coloured by region)