{
  "id": "treemap",
  "name": "Treemap",
  "family": "parts",
  "tier": "free",
  "summary": "Use a treemap to show many parts of one total at once: each rectangle's area is its value, shaded by group.",
  "title": "China alone emits almost a third of the world's CO₂",
  "subtitle": "CO₂ from fossil fuels and industry by country, 2025, tonnes; shaded by continent",
  "howToRead": "Each rectangle is one country, its area its emissions; the faded tiles fold together each continent's smaller emitters.",
  "useWhen": [
    "many parts (10 to 100) of one total",
    "a few giants and a long tail is the story",
    "a group (like continent) helps read the parts"
  ],
  "avoidWhen": [
    "readers must compare similar sizes exactly (use sorted bars)",
    "the values can be negative",
    "fewer than about six parts (use a bar or a donut)"
  ],
  "fields": [
    {
      "name": "country",
      "type": "place",
      "description": "the country, or the rest of a continent folded together"
    },
    {
      "name": "continent",
      "type": "category",
      "description": "the group that sets the shade"
    },
    {
      "name": "tonnes",
      "type": "number",
      "description": "CO₂ emitted, tonnes",
      "unit": "tonnes",
      "format": "count"
    },
    {
      "name": "world",
      "type": "number",
      "description": "the world total the shares are of",
      "unit": "tonnes",
      "format": "count"
    },
    {
      "name": "count",
      "type": "number",
      "description": "how many countries a folded tile holds",
      "unit": "countries",
      "format": "count",
      "fixed": true
    }
  ],
  "interactions": [
    "hover or tap a tile to read its emissions and share",
    "hover or tap a continent in the key to light its tiles"
  ],
  "motion": "Tiles grow out from their corners, biggest first, so the giants land before the long tail.",
  "sound": "A soft pop on hover, pitched by continent. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "almost a third",
      "in": "title"
    }
  ],
  "tags": [
    "part to whole",
    "treemap",
    "area",
    "carbon",
    "co2",
    "climate",
    "emissions",
    "countries"
  ],
  "mobile": "desktop",
  "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
  "mobileChecked": "2026-12-02",
  "ratios": [],
  "bestRatio": "9:16",
  "source": {
    "title": "Annual CO₂ emissions",
    "publisher": "Our World in Data (Global Carbon Budget, Global Carbon Project)",
    "url": "https://ourworldindata.org/grapher/annual-co2-emissions-per-country",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "hints": {
    "groups": [
      "Asia",
      "North America",
      "Europe",
      "Africa",
      "South America",
      "Oceania"
    ]
  },
  "note": "Shares are of the world total, which also counts international aviation and shipping, so the tiles add to slightly less than 100%. 2025 figures are the Global Carbon Project's latest estimates."
}