# Annotated line

> Use an annotated line to tell a story along a trend: a few callouts mark the moments that explain its shape.

- Data type: Values over time (`time`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`time`)
- Example: **2024 was the warmest year on record, 1.28 °C above the 1951 to 1980 average** (Global mean surface temperature, land and ocean, difference from the 1951 to 1980 average, °C, 1880 to 2025)
- How to read it: The line is each year's global temperature against the 1951 to 1980 average; orange bars are warmer years, blue cooler, and callouts mark turning points.
- Phone: Not recommended for mobile (9 labels overlap on a phone) · Video formats: 16:9 (best 16:9)

## Use it when
- one series with a few moments that explain it
- a general audience needs the story, not just the shape
- the callouts are facts the reader can check

## Avoid it when
- many series (callouts get lost)
- more than about six callouts
- the explanations are guesses

## Fields (data.json)
- `year` (year): the year
- `anomaly` (number, unit "°C", format decimal): global mean temperature difference from 1951 to 1980, °C

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
- move along the line to read any year and its rank
- Play tours the callouts one by one
- Motion: The line draws on through 145 years at an even pace, with bars and callouts appearing as it reaches them.
- Sound: A pop pitched by temperature on hover; a chime per callout on the tour. 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": "annotated-line",
  "title": "2024 was the warmest year on record, 1.28 °C above the 1951 to 1980 average",
  "subtitle": "Global mean surface temperature, land and ocean, difference from the 1951 to 1980 average, °C, 1880 to 2025",
  "data": "/charts/annotated-line.data.json"
}
```

## Source
GISS Surface Temperature Analysis (GISTEMP v4), global annual means, NASA Goddard Institute for Space Studies (Public domain (NASA data)), retrieved 2026-12-01: https://data.giss.nasa.gov/gistemp/

Note: The coldest and warmest years and each callout's value are computed from the data; the eruption and El Niño labels are the widely documented causes of those years' swings.

Live: /charts/annotated-line · Manifest: /charts/annotated-line.json · Tags: annotation, callouts, storytelling, climate, temperature, warming
