{
  "id": "nested-squares",
  "name": "Nested squares",
  "family": "parts",
  "tier": "pro",
  "summary": "Use nested squares when each part is a slice of the one around it: a chain of ever-smaller wholes, zoomed one step at a time.",
  "title": "Only 2.5% of Earth's water is fresh, and rivers hold 0.0002% of it all",
  "subtitle": "Where Earth's water is, cubic kilometres; each square's area is its volume",
  "howToRead": "Each square sits inside the one before it, its area its share of that square; step down the ladder to zoom in, since rivers are too small to see from the top.",
  "useWhen": [
    "a chain of wholes, each a part of the last (a funnel of scale)",
    "shares span many orders of magnitude",
    "zooming in tells the story better than one view"
  ],
  "avoidWhen": [
    "the parts are siblings, not nested (use a treemap or bars)",
    "readers need every level in one static view",
    "the chain has more than about six steps"
  ],
  "fields": [
    {
      "name": "level",
      "type": "category",
      "description": "the whole at this step"
    },
    {
      "name": "km3",
      "type": "number",
      "description": "water volume, cubic kilometres",
      "unit": "km³",
      "format": "count"
    },
    {
      "name": "otherKm3",
      "type": "number",
      "description": "the volume in this square that is not in the next one",
      "unit": "km³",
      "format": "count"
    },
    {
      "name": "otherNote",
      "type": "text",
      "description": "what that remainder is"
    }
  ],
  "interactive": [
    "zoom"
  ],
  "interactions": [
    "hover or tap a square or a step to read its volume and share",
    "tap a step on the ladder, or a square, to zoom to it",
    "Play zooms down the chain from all water to rivers"
  ],
  "motion": "Squares unfold from the corner largest first; each step zooms smoothly so the next square grows to fill the frame.",
  "sound": "A whoosh for each zoom. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "0.0002%",
      "in": "title",
      "style": "underline"
    }
  ],
  "tags": [
    "nested squares",
    "zoom",
    "scale",
    "orders of magnitude",
    "part to whole",
    "water",
    "earth science",
    "rivers"
  ],
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9"
  ],
  "bestRatio": "16:9",
  "source": {
    "title": "Where is Earth's water? (Water Science School, after Shiklomanov 1993)",
    "publisher": "U.S. Geological Survey",
    "url": "https://www.usgs.gov/special-topics/water-science-school/science/where-earths-water",
    "license": "Public domain (U.S. Government work)",
    "retrieved": "2026-12-01"
  },
  "note": "Fresh water here is ice, fresh groundwater, soil moisture, permafrost, fresh lakes, swamps, the atmosphere, rivers and living things; totals are summed from the USGS table."
}