# Scroll-length scale

> Use a scroll-length scale when the distance itself is the story: the page is drawn to scale and the reader has to scroll the whole way.

- 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: **At 250,000 km a pixel, Earth is a speck 600 pixels from the Sun and Pluto is 23,600 pixels away** (Average distance of each planet (and Pluto) from the Sun, million km; one screen pixel = 250,000 km)
- How to read it: Scroll down the window: every pixel you pass is 250,000 km, and each planet sits at its true average distance from the Sun.
- Interactive: scroll
- Phone: Not recommended for mobile (On a phone marks are too small to see or tap (checked by eye)) · Video formats: 9:16 (best 9:16)

## Use it when
- one long distance or quantity that dwarfs its parts
- emptiness or gaps are the point
- the reader should feel the size through effort

## Avoid it when
- readers need to compare values at a glance
- the page will be printed or seen as a still
- the range is small enough for one screen

## Fields (data.json)
- `body` (category): the Sun, a planet, or Pluto
- `millionKm` (number, unit "million km", format decimal): mean distance from the Sun, million km; sets how far down it sits
- `diameterKm` (number, unit "km", format count): diameter, km; sets its true size in pixels

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
- scroll the window to travel; the bar at the top reads your distance
- Next planet jumps to the next body
- hover or tap a body to read its distance and size
- Motion: Nothing moves on its own except a short nudge on the scroll hint; the reader's scroll is the motion. Jumps glide smoothly, unless reduced motion is on.
- Sound: A whoosh on a jump. 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": "scroll-length",
  "title": "At 250,000 km a pixel, Earth is a speck 600 pixels from the Sun and Pluto is 23,600 pixels away",
  "subtitle": "Average distance of each planet (and Pluto) from the Sun, million km; one screen pixel = 250,000 km",
  "data": "/charts/scroll-length.data.json"
}
```

## Source
Planetary Fact Sheet and Sun Fact Sheet, NASA Space Science Data Coordinated Archive (NSSDCA) (US Government work, public domain), retrieved 2026-12-01: https://nssdc.gsfc.nasa.gov/planetary/factsheet/

Note: Bodies smaller than 2 px are drawn at 2 px so they can be found; their true pixel width is printed beside them. Distances are averages; real orbits are ellipses.

Inspired by: [If the Moon Were Only 1 Pixel](https://joshworth.com/dev/pixelspace/pixelspace_solarsystem.html), Josh Worth (linked, not copied).

Live: /charts/scroll-length · Manifest: /charts/scroll-length.json · Tags: scroll, scrollytelling, true scale, distance, solar system, planets, space, emptiness
