# Percentile strip

> Use a percentile strip to show where particular items fall within a whole distribution: one tick per item over shaded percentile bands.

- 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 world's countries have an average income below $20,600 a year** (GDP per person by country, adjusted for prices (PPP), 2024; percentile bands from the poorest tenth to the richest)
- How to read it: Each thin tick is a country; the shaded bands mark the 10th, 25th, 50th, 75th and 90th percentiles, and labelled countries show their percentile.
- Phone: Not recommended for mobile (On a phone the chart isn't the main thing on screen (checked by eye)) · Video formats: 16:9 (best 16:9)

## Use it when
- placing a few named items within a large group ('where do we rank?')
- the scale is skewed and percentiles are clearer than values
- one measure, 50 to 500 items

## Avoid it when
- comparing distributions of several groups (use box plots)
- the gaps between items matter more than their rank
- readers would mistake a country's average for every person's

## Fields (data.json)
- `year` (year): the year shown
- `rows[].country` (place): the country
- `rows[].code` (id): a short code for the item (ISO 3166 alpha-3 for countries); callouts and short names may use it
- `rows[].gdp` (number, unit "USD", format currency): GDP per person, PPP, current international $

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 any tick to read the country and its percentile
- Motion: Ticks grow out of the strip's centre line, then the named countries drop their pins one by one.
- Sound: A soft pop on hover, higher for richer countries. 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": "percentile-strip",
  "title": "Half the world's countries have an average income below $20,600 a year",
  "subtitle": "GDP per person by country, adjusted for prices (PPP), 2024; percentile bands from the poorest tenth to the richest",
  "data": "/charts/percentile-strip.data.json"
}
```

## Source
GDP per capita, PPP (current international $), NY.GDP.PCAP.PP.CD, World Bank, World Development Indicators (CC BY 4.0), retrieved 2026-12-01: https://data.worldbank.org/indicator/NY.GDP.PCAP.PP.CD

Note: Percentiles are of countries, each counted once, not of people; a country's average hides the spread inside it.

Live: /charts/percentile-strip · Manifest: /charts/percentile-strip.json · Tags: percentiles, rank, income, GDP, inequality, economy, distribution
