# Index to 100

> Use an index to 100 to compare growth between series of very different sizes: each is divided by its own value in a start year.

- 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: **China's economy grew seventeen-fold since 1990; Japan's grew by a third** (Real GDP (constant 2015 US dollars), indexed to 100 in the start year, 1990 to 2023, log scale)
- How to read it: Every line starts at 100 in the base year; 200 means the economy doubled since then, whatever its size.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9 (best 16:9)

## Use it when
- series differ hugely in size but growth is the question
- the start point is a fair, meaningful moment
- readers will ask 'which grew fastest?'

## Avoid it when
- the absolute sizes matter (use plain lines)
- the base year is unusual and would distort growth
- values can be zero or negative

## Fields (data.json)
- `years` (year): the shared time axis
- `countries[].name` (category): the country
- `countries[].gdp` (number, unit "billion USD", format count): GDP in constant 2015 US dollars, billions, one per year; the chart rebases it

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
- buttons rebase to 1990, 2000 or 2010; click the chart to rebase at any year
- hover a line to read its index and growth
- Motion: Lines draw on from the base year; rebasing swings every line to meet at 100 in the new year.
- Sound: A whoosh when the base year changes; 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": "index-to-100",
  "title": "China's economy grew seventeen-fold since 1990; Japan's grew by a third",
  "subtitle": "Real GDP (constant 2015 US dollars), indexed to 100 in the start year, 1990 to 2023, log scale",
  "data": "/charts/index-to-100.data.json"
}
```

## Source
GDP (constant 2015 US$), NY.GDP.MKTP.KD, World Bank, World Development Indicators (CC BY 4.0), retrieved 2026-12-01: https://data.worldbank.org/indicator/NY.GDP.MKTP.KD

Note: Real GDP, so inflation is removed; it measures the size of the economy, not living standards per person.

Live: /charts/index-to-100 · Manifest: /charts/index-to-100.json · Tags: index, rebased, growth, economy, GDP, log scale
