# Dot histogram

> Use a dot histogram (Wilkinson dot plot) to show a distribution where every item is a countable dot stacked into its bin.

- 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: **Physics Nobel winners are getting older: the median age rose from 45 to 72** (Age of every Physics laureate in the year of the award, 1901 to 2026, stacked in two-year bins)
- How to read it: Each dot is one laureate, coloured by when they won; the dashed lines mark each era's median age.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: none passed; closest 16:9

## Use it when
- 50 to 300 items, where each one is a person or thing worth hovering
- the shape of the distribution and the count both matter
- a colour can split the items into up to six groups

## Avoid it when
- thousands of items (use a histogram)
- values need precise positions (dots snap to bins)
- groups should be compared side by side (use a strip plot)
- more than six eras (later ones join the sixth)

## Fields (data.json)
- `name` (text): the item (a person or thing)
- `year` (year): the year, which sets the era colour (hints.eras when all fall inside the data, else about three even steps)
- `age` (number, unit "years", format count): award year minus birth year

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
- hover or tap a dot to meet the laureate
- Play lights one era at a time with its youngest winner
- Motion: Dots drop and bounce into their stacks in award order, from 1901 to today; the median lines appear last.
- Sound: A soft pop on hover, pitched by era. 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": "dot-histogram",
  "title": "Physics Nobel winners are getting older: the median age rose from 45 to 72",
  "subtitle": "Age of every Physics laureate in the year of the award, 1901 to 2026, stacked in two-year bins",
  "data": "/charts/dot-histogram.data.json"
}
```

## Source
Nobel Prize API v2.1: laureates in Physics, Nobel Prize Outreach (CC0 1.0), retrieved 2026-12-01: https://api.nobelprize.org/2.1/laureates?nobelPrizeCategory=phy

Note: Age is the award year minus the birth year, so it can be one year off. John Bardeen, who won twice, appears twice.

Live: /charts/dot-histogram · Manifest: /charts/dot-histogram.json · Tags: distribution, dot plot, Wilkinson, Nobel, physics, age, science
