# Quantile dots

> Use quantile dots to turn a distribution into odds people can count: 20 dots, each standing for 5% of outcomes.

- Data type: Many values of one measure (`spread`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`spread`)
- Example: **Half the time, the next magnitude 4.5+ earthquake comes within an hour** (Time between one magnitude 4.5+ earthquake and the next, anywhere on Earth, 1 November to 1 December 2026)
- How to read it: Each of the 20 dots is 5% of the waits; count the dots left of any time to get the chance the wait is that short.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: none passed; closest 16:9

## Use it when
- telling people the odds of a wait, a delay or a forecast
- the audience is not used to probability curves
- one distribution, with a decision threshold to try

## Avoid it when
- comparing several distributions (use box plots or ridgelines)
- the exact tail matters (20 dots round it to 5%)
- fewer than about 40 observations behind the quantiles

## Fields (data.json)
- `from` (date): first day of the period
- `to` (date): last day of the period
- `quakes` (number, unit "earthquakes", format count): earthquakes in the period
- `gapsHours` (number, unit "hours", format decimal): hours between consecutive quakes

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
- move across the chart to slide the threshold and count the dots
- hover or tap a dot for its wait
- Motion: The 20 dots drop and bounce into their stacks one after another.
- Sound: No sound of its own: 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": "quantile-dots",
  "title": "Half the time, the next magnitude 4.5+ earthquake comes within an hour",
  "subtitle": "Time between one magnitude 4.5+ earthquake and the next, anywhere on Earth, 1 November to 1 December 2026",
  "data": "/charts/quantile-dots.data.json"
}
```

## Source
Earthquake Hazards Program: magnitude 4.5+ earthquakes, past 30 days, U.S. Geological Survey (Public domain (U.S. Government)), retrieved 2026-12-01: https://earthquake.usgs.gov/earthquakes/feed/v1.0/csv.php

Inspired by: [When (ish) is my bus? User-centered visualizations of uncertainty in everyday, mobile predictive systems](https://doi.org/10.1145/2858036.2858558), Kay, Kola, Hullman and Munson (linked, not copied).

Live: /charts/quantile-dots · Manifest: /charts/quantile-dots.json · Tags: uncertainty, odds, probability, frequency framing, earthquakes, waiting time
