{
  "id": "icicle",
  "name": "Icicle",
  "family": "hierarchy",
  "tier": "free",
  "summary": "Use an icicle to show a hierarchy as stacked rectangles by level: each level is a column, each box as tall as its share; click to zoom.",
  "title": "China alone makes a third of the world's electricity, most of it from coal",
  "subtitle": "Electricity generation by continent, biggest countries and source, 2024, TWh",
  "howToRead": "Read left to right from the world to continents, countries and sources; each box's height is its electricity. Tap a box to zoom into it.",
  "useWhen": [
    "three or more levels of a hierarchy",
    "you want sizes comparable as straight lengths (easier than a sunburst's angles)",
    "readers drill down by clicking"
  ],
  "avoidWhen": [
    "one or two levels (use a treemap or bars)",
    "hundreds of leaves at once (they become slivers; zoom helps only so much)",
    "values can be negative"
  ],
  "fields": [
    {
      "name": "continents[].name",
      "type": "category",
      "description": "the continent"
    },
    {
      "name": "continents[].children[].name",
      "type": "place",
      "description": "a country, or the rest of the continent"
    },
    {
      "name": "continents[].children[].mix",
      "type": "number",
      "description": "electricity by source (Coal, Gas, Hydro, Nuclear, Wind and solar, Other), TWh",
      "unit": "TWh",
      "format": "count"
    },
    {
      "name": "year",
      "type": "year",
      "description": "the year measured"
    }
  ],
  "hints": {
    "heads": "World; Continent; Country; Source"
  },
  "interactive": [
    "zoom"
  ],
  "interactions": [
    "hover or tap a box to read its TWh and shares",
    "tap a box to zoom into it; tap it again to step back out"
  ],
  "motion": "Columns slide in from the left one level at a time; zooming stretches the chosen box to the full height.",
  "sound": "A whoosh on each zoom; a pop on hover pitched by source. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "callout",
      "at": "China",
      "text": "{label}: {value}"
    },
    {
      "type": "underline",
      "words": "a third",
      "in": "title"
    }
  ],
  "tags": [
    "icicle",
    "partition",
    "hierarchy",
    "zoom",
    "drill down",
    "energy",
    "electricity",
    "coal",
    "countries"
  ],
  "mobile": "desktop",
  "mobileNote": "On a phone the chart isn't the main thing on screen (checked by eye)",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9"
  ],
  "bestRatio": "9:16",
  "source": {
    "title": "Energy dataset (electricity generation by source); continents from Our World in Data",
    "publisher": "Our World in Data (Ember, Energy Institute Statistical Review of World Energy)",
    "url": "https://github.com/owid/energy-data",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Each continent shows its four biggest producers; the rest of the continent is one box. The world is the sum of the six continents."
}