# How many fit

> Use a how-many-fit chart to make a ratio of sizes countable: pour the smaller thing into the bigger one and count them as they land.

- 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: **About 1,400 Earths would fit inside Jupiter, and 1.3 million inside the Sun** (How many of a smaller body fit inside a bigger one, by volume)
- How to read it: The big circle is the larger body; each dot is one of the smaller body (or a thousand, for the Sun), poured in from the bottom.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9 (best 16:9)

## Use it when
- a ratio between two sizes that is hard to feel as a number
- the count is between about 10 and a few thousand (or can be grouped)
- a step-by-step story from small to huge

## Avoid it when
- the shapes would not really pack (say so in a note)
- the ratio is under about 5 (side-by-side silhouettes are clearer)
- you compare many items at once

## Fields (data.json)
- `small` (category): the smaller body
- `big` (category): the larger body
- `smallKm` (number, unit "km", format count): the smaller body's diameter, km
- `bigKm` (number, unit "km", format count): the larger body's diameter, km (null for the Sun, which uses the volume ratio)
- `count` (number, unit "fit", format count): how many of the smaller fit in the larger, by volume

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
- click or tap a comparison in the list to pour it
- hover the big circle to read its size
- Motion: Dots pour in from the bottom while the counter climbs, so the number is felt before it is read.
- 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": "how-many-fit",
  "title": "About 1,400 Earths would fit inside Jupiter, and 1.3 million inside the Sun",
  "subtitle": "How many of a smaller body fit inside a bigger one, by volume",
  "data": "/charts/how-many-fit.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: Counts are volume ratios, (big diameter ÷ small diameter)³, treating planets as spheres and ignoring the gaps between packed balls; the Sun uses NASA's Sun/Earth volume ratio. The dots are packed for counting and are not to scale.

Live: /charts/how-many-fit · Manifest: /charts/how-many-fit.json · Tags: how many fit, ratio, counting, volume, planets, space, scale, unit chart
