# Small-multiple maps

> Use small-multiple maps to show the same map for several years or measures side by side, so change reads at a glance.

- Data type: Values by place (`maps`)
- Free (MIT): install with `npx chartreuse add small-multiple-maps`, or registry item `/r/small-multiple-maps.json`
- Example: **In 2000 two countries had most people online; by 2023, 141 did** (Share of people using the internet, by country, 2000, 2008, 2016 and 2023, %)
- How to read it: Each map is one year in the same colours; darker countries have more people online.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9 (best 16:9)

## Use it when
- the same measure at 2 to 6 moments
- the spread of something across the map over time
- readers should compare whole patterns, not single values

## Avoid it when
- many time steps (use a map with a year slider)
- exact values matter (use a line chart)
- the maps would be too small to read on a phone (use one map and Play)

## Fields (data.json)
- `years` (year): the years shown, one map each, 2 to 9 (more are laid out but get small)
- `rows.id` (id): ISO 3166-1 numeric code
- `rows.name` (place): the country
- `rows.v` (number, unit "%", format percent): share online in each year, % (null when missing)

Units are the example's: with your own data, set each number field's `unit` and `format` (percent, count, decimal, currency, compact) in the meta you pass to mount, or `chartreuse render --unit field=text --format field=count`. Scales and labels follow your data.

## Interactions, motion, sound
- hover or tap a country to read every year; it is ringed on every map
- Motion: Each year inks in after the one before, like pages turning.
- Sound: A pop on hover, pitched by year. Quiet while it draws and between steps; mute it from its card. (sound is off until the viewer turns it on)

## Example spec
```json
{
  "chart": "small-multiple-maps",
  "title": "In 2000 two countries had most people online; by 2023, 141 did",
  "subtitle": "Share of people using the internet, by country, 2000, 2008, 2016 and 2023, %",
  "data": "/charts/small-multiple-maps.data.json"
}
```

## Source
Share of the population using the internet, Our World in Data (International Telecommunication Union via World Bank) (CC BY 4.0), retrieved 2026-12-01: https://ourworldindata.org/grapher/share-of-individuals-using-the-internet

Live: /charts/small-multiple-maps · Manifest: /charts/small-multiple-maps.json · Tags: small multiples, maps, internet, technology, change over time, choropleth
