{
  "id": "bubble-pit",
  "name": "Bubble pit",
  "family": "compare",
  "tier": "pro",
  "physics": [
    "gravity",
    "restitution",
    "friction",
    "drag",
    "seed"
  ],
  "summary": "Use a bubble pit to show sizes as bubbles readers can grab: each item is a bubble whose area is its value, and they tumble, stack and bump like real balls.",
  "title": "China and India alone have 2.3 billion people online",
  "subtitle": "Internet users in the 16 countries with the most, latest year (2024 or 2025); bubble area is people",
  "howToRead": "Each bubble's area is the number of people online in one country, coloured by region; drag one to shove the others.",
  "useWhen": [
    "a playful look at 5 to 20 sizes",
    "the two or three biggest items dominate",
    "a touch screen or a talk where people can play with the data"
  ],
  "avoidWhen": [
    "readers must compare close values (use sorted bars)",
    "positions should mean something (bubbles land where physics puts them)",
    "more than about 25 items"
  ],
  "fields": [
    {
      "name": "world.users",
      "type": "number",
      "description": "internet users worldwide",
      "unit": "people",
      "format": "count"
    },
    {
      "name": "world.year",
      "type": "year",
      "description": "year of the world total"
    },
    {
      "name": "countries[].country",
      "type": "place",
      "description": "country"
    },
    {
      "name": "countries[].users",
      "type": "number",
      "description": "people using the internet",
      "unit": "people",
      "format": "count"
    },
    {
      "name": "countries[].year",
      "type": "year",
      "description": "latest year with data"
    }
  ],
  "interactive": [
    "drag"
  ],
  "interactions": [
    "drag or fling a bubble to bump the rest",
    "hover or tap a bubble to read its users and world share",
    "Drop again pours them back in"
  ],
  "motion": "Bubbles drop into the pit and settle with Matter.js physics when the chart comes into view; dragging wakes the simulation, which goes back to sleep once everything is still.",
  "sound": "A plink when bubbles bump after you drop or shove them, louder for harder knocks, at most a few a second; a pop when you grab one. Quiet while they first pour in; mute it from its card.",
  "tags": [
    "physics",
    "Matter.js",
    "bubbles",
    "drag",
    "size",
    "internet",
    "technology"
  ],
  "hints": {
    "groups": [
      "Asia",
      "Americas",
      "Europe",
      "Africa"
    ],
    "groupOf": {
      "China": 0,
      "India": 0,
      "Indonesia": 0,
      "Pakistan": 0,
      "Japan": 0,
      "Bangladesh": 0,
      "Vietnam": 0,
      "Iran": 0,
      "Philippines": 0,
      "United States": 1,
      "Brazil": 1,
      "Mexico": 1,
      "Russia": 2,
      "Germany": 2,
      "Nigeria": 3,
      "Egypt": 3
    }
  },
  "mobile": "desktop",
  "mobileNote": "9 labels overlap on a phone",
  "mobileChecked": "2026-12-02",
  "ratios": [],
  "bestRatio": "16:9",
  "source": {
    "title": "Number of people using the Internet",
    "publisher": "Our World in Data (International Telecommunication Union via World Bank)",
    "url": "https://ourworldindata.org/grapher/number-of-internet-users",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Regions are added for colour only. China and India are 2025 estimates; the other countries are 2024."
}