{
  "id": "small-multiple-bars",
  "name": "Small-multiple bars",
  "family": "compare",
  "tier": "free",
  "summary": "Use small-multiple bars to repeat one simple bar chart per group, so shapes can be compared across groups at a glance.",
  "title": "Mumbai got more rain in July 2024 than London did all year",
  "subtitle": "Monthly rainfall, millimetres, 2024, six cities",
  "howToRead": "Each panel is one city's twelve months of rain on the same scale; the orange bar is its wettest month.",
  "useWhen": [
    "the same small chart for 4 to 16 groups",
    "the shape (when, how peaked) matters more than exact values",
    "one chart with every group on it would be a tangle"
  ],
  "avoidWhen": [
    "groups must be compared value by value (put them on one chart)",
    "the panels have nothing in common to compare",
    "there are only two groups (use grouped bars)"
  ],
  "fields": [
    {
      "name": "city",
      "type": "place",
      "description": "the panel"
    },
    {
      "name": "months",
      "type": "number",
      "description": "one rainfall total per period, in order, mm (twelve months, January to December, in the example; any count works, named by hints.periods, else month names for twelve, else 1 to N)",
      "unit": "mm",
      "format": "count"
    }
  ],
  "interactions": [
    "hover or tap a bar to read that month and its share of the year",
    "the scale chips switch between one shared scale and a scale per panel"
  ],
  "motion": "The panels fill one after another, each month's bar rising left to right; switching scale stretches the bars in place.",
  "sound": "A chime on toggle; a pop pitched by month on hover. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "callout",
      "at": "Mumbai, Jul 2024",
      "text": "{label}: {value}",
      "style": "ring"
    },
    {
      "type": "underline",
      "words": "July 2024",
      "in": "title"
    }
  ],
  "tags": [
    "small multiples",
    "trellis",
    "facets",
    "bar chart",
    "rain",
    "weather",
    "monsoon",
    "cities"
  ],
  "hints": {
    "period": 2024,
    "compare": "London"
  },
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9",
    "9:16"
  ],
  "bestRatio": "9:16",
  "source": {
    "title": "Historical Weather API (ERA5 and ERA5-Land reanalysis), daily precipitation_sum, 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 rainfall is for a grid cell around each city centre and smooths out local downpours, so it can differ from rain-gauge totals."
}