# Weather map

> Use a weather map to show a value that varies over places as a pressure field: isobars join equal values, and H and L mark the regional highs and lows.

- Data type: Values by place (`maps`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`maps`)
- Example: **A high of happiness sits over Finland, and the deepest low over Afghanistan** (Life satisfaction, average answer on a 0–10 ladder, 2025)
- How to read it: Lines join places of equal life satisfaction, half a point apart; H marks a country happier than all its neighbours, L one less happy.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9 (best 16:9)

## Use it when
- a value measured at many places, where regional patterns matter more than borders
- a playful forecast look for an explainer
- you want to point out local peaks and dips

## Avoid it when
- the value really changes at borders (use a choropleth)
- readers need each country's exact value
- the places are few or far apart (the field between them is invented)

## Fields (data.json)
- `year` (year): the survey year
- `countries[].country` (place): the country
- `countries[].iso3` (id): ISO 3166 alpha-3 code
- `countries[].score` (number, unit "points (0–10)", format decimal): life satisfaction, 0–10 (Cantril ladder)
- `countries[].lon` (number, unit "°", format decimal): longitude of the country's main landmass centroid
- `countries[].lat` (number, unit "°", format decimal): latitude of the country's main landmass centroid

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 dot to read a country's score
- hover an H or L to read the high or low
- Motion: The isobars trace themselves across the map like a forecast being drawn, then the highs and lows drop into place.
- Sound: A soft pop on hover. 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": "weather-map",
  "title": "A high of happiness sits over Finland, and the deepest low over Afghanistan",
  "subtitle": "Life satisfaction, average answer on a 0–10 ladder, 2025",
  "data": "/charts/weather-map.data.json"
}
```

## Source
Self-reported life satisfaction, Our World in Data (World Happiness Report, Gallup World Poll) (CC BY 4.0), retrieved 2026-12-01: https://ourworldindata.org/grapher/happiness-cantril-ladder

Note: Each country is a point at its main landmass's centroid (from Natural Earth via world-atlas); the lines between points are interpolated by inverse-distance weighting and are not measured. Six small countries not on the 1:110m map are left out.

Live: /charts/weather-map · Manifest: /charts/weather-map.json · Tags: weather map, isobars, contours, interpolation, happiness, wellbeing, world, playful
