# Big number

> Use a big number when one value is the story: state it large, show its change, and keep a small trend for context.

- Data type: Values per item (`compare`)
- Free (MIT): install with `npx chartreuse add big-number`, or registry item `/r/big-number.json`
- Example: **Carbon dioxide in the air reached a record 427 parts per million in 2025** (Annual mean CO₂ at Mauna Loa Observatory, Hawaii, parts per million (ppm), 1959–2025)
- How to read it: The large figure is the latest yearly average; the badge is the rise on the year before, and the line underneath is every year since 1959.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: none passed; closest 16:9

## Use it when
- one number matters more than any chart of it
- the change since last time is the second message
- a dashboard tile, a slide or the opening of a video

## Avoid it when
- several numbers compete for attention (use a ranked table or bars)
- the trend is the story (lead with a line chart)
- the number means little without its comparison

## Fields (data.json)
- `year` (year): the year
- `ppm` (number, unit "ppm", format decimal): annual mean CO₂ mole fraction, parts per million

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 along the line to set the number to that year
- Motion: The number counts up from 1959's level to today's while the line draws itself, then the change badge appears.
- Sound: A 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": "big-number",
  "title": "Carbon dioxide in the air reached a record 427 parts per million in 2025",
  "subtitle": "Annual mean CO₂ at Mauna Loa Observatory, Hawaii, parts per million (ppm), 1959–2025",
  "data": "/charts/big-number.data.json"
}
```

## Source
Mauna Loa CO₂ annual mean data (co2_annmean_mlo), NOAA Global Monitoring Laboratory (Lan, Tans and Thoning); Scripps Institution of Oceanography (Keeling) (Public domain (US government work); please cite NOAA GML), retrieved 2026-12-01: https://gml.noaa.gov/ccgg/trends/data.html

Live: /charts/big-number · Manifest: /charts/big-number.json · Tags: big number, KPI, headline figure, stat tile, carbon dioxide, climate, Keeling curve
