{
  "id": "range-bars",
  "name": "Range bars",
  "family": "compare",
  "tier": "free",
  "summary": "Use range bars to show each item's minimum to maximum with a typical value marked, so spread and centre read together.",
  "title": "Yakutsk's 2024 swung 82 °C from coldest night to hottest day; Singapore's barely 13",
  "subtitle": "Lowest and highest temperature of 2024 and the year's mean, twelve cities, °C",
  "howToRead": "Each bar runs from a city's coldest night (left) to its hottest day (right) in 2024; the ringed dot is the year's mean.",
  "useWhen": [
    "each item has a low, a high and a typical value",
    "the spread matters as much as the level",
    "up to about 20 items on one scale"
  ],
  "avoidWhen": [
    "you need the whole distribution, not just its ends (use a box or strip plot)",
    "the extremes are outliers that hide the usual range",
    "items are in different units"
  ],
  "fields": [
    {
      "name": "city",
      "type": "place",
      "description": "the city"
    },
    {
      "name": "min",
      "type": "number",
      "description": "lowest daily minimum temperature of 2024, °C",
      "unit": "°C",
      "format": "decimal"
    },
    {
      "name": "minDate",
      "type": "date",
      "description": "the day of the minimum"
    },
    {
      "name": "max",
      "type": "number",
      "description": "highest daily maximum temperature of 2024, °C",
      "unit": "°C",
      "format": "decimal"
    },
    {
      "name": "maxDate",
      "type": "date",
      "description": "the day of the maximum"
    },
    {
      "name": "mean",
      "type": "number",
      "description": "mean of the daily mean temperatures in 2024, °C",
      "unit": "°C",
      "format": "decimal"
    }
  ],
  "interactions": [
    "hover or tap a city to read its extremes, their dates and its mean"
  ],
  "motion": "Each range stretches out from the city's mean to both extremes, widest first.",
  "sound": "A pop pitched by row on hover. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "82 °C",
      "in": "title"
    }
  ],
  "tags": [
    "range bars",
    "floating bars",
    "min max",
    "temperature",
    "weather",
    "climate",
    "cities"
  ],
  "hints": {
    "lowWord": "coldest",
    "highWord": "hottest",
    "rangeLabel": "coldest night to hottest day"
  },
  "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 and ERA5-Land reanalysis), daily temperature_2m_min, _max and _mean, 2024",
    "publisher": "Open-Meteo (Copernicus Climate Change Service data)",
    "url": "https://open-meteo.com/en/docs/historical-weather-api",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Reanalysis values are for a grid cell around each city centre, so they can differ from a single weather station's record."
}