# Warming stripes

> Use warming stripes to show a long run of years as one band of colour, so a trend is felt at a glance with no axis to read.

- Data type: Values over time (`time`)
- Free (MIT): install with `npx chartreuse add warming-stripes`, or registry item `/r/warming-stripes.json`
- Example: **2024 was the warmest year on record, 1.28°C above the 1951–1980 average** (Global mean surface temperature, difference from the 1951–1980 average, °C, 1880–2025)
- How to read it: Each stripe is one year, coloured by how much warmer (orange) or cooler (blue) than the 1951–1980 average it was; deeper colour is a bigger difference.
- Phone: Not recommended for mobile (2 labels overlap on a phone) · Video formats: none passed; closest 16:9

## Use it when
- a single series over many years where the trend is the message
- a poster, a cover or a talk where words should be few
- readers who would skip a line chart

## Avoid it when
- readers need the values (switch on the bars, or use a line)
- fewer than about 30 time steps
- the series has no meaningful baseline

## Fields (data.json)
- `year` (year): calendar year
- `anomaly` (number, unit "°C", format decimal): global surface temperature minus the 1951–1980 average, °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
- hover or tap a stripe to read the year and its difference
- Show the numbers overlays the bars
- Listen plays the series as notes
- Motion: The stripes fade in from 1880 to today in a single sweep when the chart comes into view.
- Sound: Listen plays every year as a note, rising as it warms. 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": "warming-stripes",
  "title": "2024 was the warmest year on record, 1.28°C above the 1951–1980 average",
  "subtitle": "Global mean surface temperature, difference from the 1951–1980 average, °C, 1880–2025",
  "data": "/charts/warming-stripes.data.json"
}
```

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

Note: Colour depth follows the square root of the difference, so small differences stay visible; the most recent years are revised slightly as data arrive.

Inspired by: [Show Your Stripes](https://showyourstripes.info/), Ed Hawkins, University of Reading (linked, not copied).

Live: /charts/warming-stripes · Manifest: /charts/warming-stripes.json · Tags: climate stripes, data art, temperature, climate, global warming, time series
