# Annotated steps

> Use annotated steps when the captions lead: each caption slides a highlight to the stretch of data it talks about.

- 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: **Solar panels cost a thousandth of what they did in 1975** (Price of solar photovoltaic modules, US dollars per watt, adjusted for inflation (2024 dollars), log scale, 1975 to 2025)
- How to read it: Step through the captions with Next; the shaded band and the bright stretch of line move to the years each caption describes.
- Phone: Not recommended for mobile (1 label overlap on a phone) · Video formats: 16:9 (best 16:9)

## Use it when
- a single long series has several chapters
- the captions carry the argument and the chart is the evidence
- a slide or a thread walks through the same chart several times

## Avoid it when
- readers want to explore any year themselves (use a hover line chart)
- there is one point to make (use a callout)
- the chapters need different charts (use scrollytelling)

## Fields (data.json)
- `year` (year): the year
- `cost` (number, unit "USD per watt", format decimal): module price, US dollars per watt, 2024 prices

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
- Previous and Next move through the captions
- Play runs through them
- hover or tap a point to read its year
- Motion: The band glides and stretches to the next chapter's years, the line lights up inside it, and the caption slides in from the right.
- 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": "annotated-steps",
  "title": "Solar panels cost a thousandth of what they did in 1975",
  "subtitle": "Price of solar photovoltaic modules, US dollars per watt, adjusted for inflation (2024 dollars), log scale, 1975 to 2025",
  "data": "/charts/annotated-steps.data.json"
}
```

## Source
Solar photovoltaic module price, Our World in Data (IRENA; Nemet, 2009; Farmer and Lafond, 2016) (CC BY 4.0), retrieved 2026-12-01: https://ourworldindata.org/grapher/solar-pv-prices

Live: /charts/annotated-steps · Manifest: /charts/annotated-steps.json · Tags: annotation, captions, steps, highlight, learning curve, solar, energy, prices
