# Scale journey

> Use a scale journey to compare values across many orders of magnitude: the stops sit on a log line, and a slider zooms a plain linear view from one stop to the next.

- Data type: One very big or small number (`scale`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`scale`)
- Example: **The world's 8.1 billion people would fill about 844,000 Tuvalus** (Population of eight places, from Tuvalu to the whole world, 2024)
- How to read it: The top line places every stop on a log scale; below, a plain linear scale zooms to the stop you choose, so everything smaller shrinks to a sliver.
- Interactive: slider, zoom
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9, 9:16 (best 9:16)

## Use it when
- values span three or more orders of magnitude
- readers should feel how a log scale compresses size
- a guided journey from small to huge (or back)

## Avoid it when
- the values are all of similar size (use bars)
- you need many items at once (use a log-scale dot plot)
- the reader cannot interact (show two fixed zooms instead)

## Fields (data.json)
- `place` (place): the country, or the world
- `code` (id): World Bank code (ISO alpha-3, WLD for the world)
- `year` (year): the year of the estimate
- `people` (number, unit "people", format count): total population

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
- drag the Zoom slider to glide between stops
- click or tap a stop or a row to zoom to it
- hover any stop to read its population
- Play stops at each place in turn
- Motion: On arrival the view starts zoomed in on Tuvalu and pulls back, smoothly in log space, until the whole world fills it.
- Sound: A soft 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": "scale-journey",
  "title": "The world's 8.1 billion people would fill about 844,000 Tuvalus",
  "subtitle": "Population of eight places, from Tuvalu to the whole world, 2024",
  "data": "/charts/scale-journey.data.json"
}
```

## Source
Population, total (SP.POP.TOTL), World Bank, World Development Indicators (CC BY 4.0), retrieved 2026-12-01: https://data.worldbank.org/indicator/SP.POP.TOTL

Note: The slider moves through log space, so each stop-to-stop glide feels the same length however big the jump.

Live: /charts/scale-journey · Manifest: /charts/scale-journey.json · Tags: log scale, orders of magnitude, zoom, slider, population, countries, scale
