{
  "id": "circle-packing",
  "name": "Circle packing",
  "family": "hierarchy",
  "tier": "free",
  "summary": "Use circle packing to show a hierarchy by size as circles inside circles: groups hold their members, each circle's area its value.",
  "title": "India and China each have almost as many people as all of Africa",
  "subtitle": "Population by country, grouped by continent, 2023",
  "howToRead": "Each small circle is a country, its area its population; the big circles gather them by continent.",
  "useWhen": [
    "a hierarchy where the groups and the few biggest members are the story",
    "a friendly overview of 50 to 300 items",
    "exact comparison matters less than the gestalt"
  ],
  "avoidWhen": [
    "precise comparison (circle packing wastes space and areas are hard to judge; use a treemap or bars)",
    "deep hierarchies (use a zoomable pack)",
    "few items (use bars)"
  ],
  "fields": [
    {
      "name": "country",
      "type": "place",
      "description": "the country"
    },
    {
      "name": "continent",
      "type": "category",
      "description": "the group"
    },
    {
      "name": "people",
      "type": "number",
      "description": "population",
      "unit": "people",
      "format": "count"
    },
    {
      "name": "year",
      "type": "year",
      "description": "the year measured"
    }
  ],
  "hints": {
    "noun": "countries"
  },
  "interactions": [
    "hover or tap a country to read its population and shares",
    "hover or tap a continent's ring for its total"
  ],
  "motion": "Continents open like bubbles one after another, then their countries pop in, biggest first.",
  "sound": "A pop on hover. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "callout",
      "at": "India",
      "text": "{label}: {value}"
    },
    {
      "type": "underline",
      "words": "India and China",
      "in": "title"
    }
  ],
  "tags": [
    "circle packing",
    "bubbles",
    "hierarchy",
    "population",
    "countries",
    "continents",
    "people"
  ],
  "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": "Population; continents according to Our World in Data",
    "publisher": "Our World in Data (HYDE, Gapminder, UN World Population Prospects)",
    "url": "https://ourworldindata.org/grapher/population",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Countries and territories with at least 100,000 people."
}