# Change arrows

> Use change arrows to show each item moving from an old value to a new one, so direction and distance read at once.

- Data type: Values per item (`compare`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`compare`)
- Example: **South Korea's fertility fell from 4.5 children per woman in 1970 to 0.7** (Total fertility rate, children per woman, 1970 and 2023, twelve countries)
- How to read it: Each arrow runs from a country's 1970 rate to its 2023 rate; blue arrows end below the 2.1 replacement level, orange ones above it.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9 (best 16:9)

## Use it when
- each item has an old and a new value and the direction matters
- some items rise and others fall
- a threshold (a target, a replacement level) gives the values meaning

## Avoid it when
- the path between the two dates matters (use a line chart)
- the changes are tiny compared with the values (plot the change itself)
- more than about 20 items

## Fields (data.json)
- `country` (place): the item (a country in the example)
- `y1970` (number, unit "births per woman", format decimal): the start value: children per woman in 1970 (the arrow's tail is labelled hints.from, else the year in this description)
- `y2023` (number, unit "births per woman", format decimal): the end value: children per woman in 2023 (the arrowhead is labelled hints.to, else the year in this description)

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 row to read both rates and the change
- Motion: The arrows shoot from their start values to their end values (1970 to 2023 in the example), one after another.
- Sound: A pop pitched by row 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": "change-arrows",
  "title": "South Korea's fertility fell from 4.5 children per woman in 1970 to 0.7",
  "subtitle": "Total fertility rate, children per woman, 1970 and 2023, twelve countries",
  "data": "/charts/change-arrows.data.json"
}
```

## Source
Fertility rate: children per woman (UN World Population Prospects 2024), Our World in Data (CC BY 4.0), retrieved 2026-12-01: https://ourworldindata.org/grapher/children-per-woman-un

Note: Replacement level is about 2.1 in countries with low child mortality; it is higher where more children die young.

Live: /charts/change-arrows · Manifest: /charts/change-arrows.json · Tags: arrow chart, change, before and after, direction, fertility, population, demography
