{
  "id": "hypothetical-outcomes",
  "name": "Hypothetical outcomes",
  "family": "spread",
  "tier": "pro",
  "summary": "Use hypothetical outcome plots to show uncertainty as a run of possible worlds: each frame is one draw, and the odds emerge as you watch.",
  "title": "Paris is usually hotter than London in July, but on 1 day in 7 London wins",
  "subtitle": "Daily maximum temperature on 40 July days drawn at random from 2016–2025, °C",
  "howToRead": "Each frame is one real July day in all three cities; faint ticks pile up where days are common, and the counter keeps score of London against Paris.",
  "useWhen": [
    "the audience should feel how often an outcome happens, not read a probability",
    "comparing two or three uncertain quantities that are drawn together",
    "a screen where motion is welcome"
  ],
  "avoidWhen": [
    "print or a static image (use quantile dots or a gradient interval)",
    "readers need exact intervals",
    "more than about four quantities at once (past six, only the first six lanes are drawn)"
  ],
  "fields": [
    {
      "name": "city",
      "type": "place",
      "description": "the city; one lane each, in the data's order (up to six); the counter compares meta.hints.pair, else the first two"
    },
    {
      "name": "date",
      "type": "date",
      "description": "the day (July in the example); only days with a value for every city are drawn"
    },
    {
      "name": "tmax",
      "type": "number",
      "description": "the day's maximum temperature, °C",
      "unit": "°C",
      "format": "decimal"
    }
  ],
  "interactions": [
    "'Draw 40 July days' runs the draws again",
    "Play scrubs through the same 40 days one at a time",
    "hover or tap a city's dot for that day's value"
  ],
  "motion": "Three dots jump to a new day's temperatures every 0.65 seconds for 40 draws, then stop; ghost ticks build up the distribution.",
  "sound": "A chime when London is hotter than Paris. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "1 day in 7",
      "in": "title"
    }
  ],
  "hints": {
    "pair": "London; Paris",
    "noun": "cities"
  },
  "tags": [
    "uncertainty",
    "HOPs",
    "animation",
    "weather",
    "temperature",
    "cities",
    "probability"
  ],
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9"
  ],
  "bestRatio": "16:9",
  "source": {
    "title": "Historical Weather API (ERA5 reanalysis), daily maximum 2 m temperature",
    "publisher": "Open-Meteo (Copernicus Climate Change Service ERA5)",
    "url": "https://open-meteo.com/en/docs/historical-weather-api",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Grid-cell values from a weather reanalysis for each city centre, not single weather stations. London was hotter than Paris on 46 of 310 July days (15%).",
  "reference": {
    "title": "Hypothetical outcome plots outperform error bars and violin plots for inferences about reliability of variable ordering",
    "author": "Kale, Nguyen, Kay and Hullman",
    "url": "https://doi.org/10.1371/journal.pone.0142444"
  }
}