{
  "id": "raincloud",
  "name": "Raincloud",
  "family": "spread",
  "tier": "pro",
  "summary": "Use a raincloud to show a distribution three ways at once: a half-violin cloud for the shape, a box for the summary and raw dots as rain.",
  "title": "Europe's countries cluster near 82 years of life; Africa's spread across almost three decades",
  "subtitle": "Life expectancy at birth by country and continent, years, 2023",
  "howToRead": "The cloud is the shape of each continent's distribution, the bar under it the middle half with the median dot, and each raindrop one country.",
  "useWhen": [
    "comparing 2 to 8 groups where the shape, the summary and the raw values all matter",
    "groups have 10 to 200 values",
    "an audience that might distrust a summary alone"
  ],
  "avoidWhen": [
    "thousands of values per group (the rain becomes fog)",
    "small screens with many groups",
    "readers only need the medians (use a dot plot)",
    "more than 8 groups (the smallest fold into Other)"
  ],
  "fields": [
    {
      "name": "year",
      "type": "year",
      "description": "the year shown"
    },
    {
      "name": "rows[].country",
      "type": "place",
      "description": "the country"
    },
    {
      "name": "rows[].continent",
      "type": "category",
      "description": "the group: any labels, one row each; 2 to 8 groups, the smallest fold into Other past 8"
    },
    {
      "name": "rows[].years",
      "type": "number",
      "description": "life expectancy at birth, years",
      "unit": "years",
      "format": "decimal"
    }
  ],
  "hints": {
    "noun": "countries",
    "groups": [
      "Asia",
      "Europe",
      "Africa",
      "North America",
      "South America",
      "Oceania"
    ]
  },
  "interactions": [
    "hover or tap a cloud for its median and range",
    "hover a raindrop to read the country"
  ],
  "motion": "Clouds swell up from their baselines, then the countries fall as rain into place.",
  "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 three decades",
      "in": "title"
    }
  ],
  "tags": [
    "distribution",
    "raincloud",
    "violin",
    "box plot",
    "raw data",
    "life expectancy",
    "health"
  ],
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9"
  ],
  "bestRatio": "16:9",
  "source": {
    "title": "Life expectancy",
    "publisher": "Our World in Data (UN World Population Prospects; Human Mortality Database; Zijdeman et al.)",
    "url": "https://ourworldindata.org/grapher/life-expectancy",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Countries and territories count once each. Continents follow Our World in Data's grouping.",
  "reference": {
    "title": "Raincloud plots: a multi-platform tool for robust data visualization",
    "author": "Allen, Poggiali, Whitaker, Marshall, van Langen and Kievit",
    "url": "https://doi.org/10.12688/wellcomeopenres.15191.2"
  }
}