# Country silhouettes

> Use country silhouettes to draw each country's real outline scaled to a value, side by side, so the amounts carry the shapes people know.

- Data type: Values by place (`maps`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`maps`)
- Example: **Brazil grows almost a third of the world's coffee** (Green coffee beans produced in 2023, tonnes; the eight biggest growers)
- How to read it: Each outline's area is the coffee that country grew; switch to land to see how small Vietnam is for its harvest.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9 (best 16:9)

## Use it when
- a handful of countries readers recognise by shape
- the gap between a value and land size is the story
- a memorable, poster-like view

## Avoid it when
- more than about 12 countries
- unfamiliar shapes (use circles)
- exact comparison (use sorted bars)

## Fields (data.json)
- `world` (number, unit "tonnes", format count): world production, tonnes
- `rows.id` (id): ISO 3166-1 numeric code
- `rows.name` (place): the country
- `rows.t` (number, unit "tonnes", format count): green coffee produced, tonnes

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 country to read its harvest and share
- switch between sizing by coffee and by land area
- Motion: Shapes grow up from their shelves, biggest grower first, and morph in size when the measure changes.
- Sound: A whoosh when the measure changes; a 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": "country-silhouettes",
  "title": "Brazil grows almost a third of the world's coffee",
  "subtitle": "Green coffee beans produced in 2023, tonnes; the eight biggest growers",
  "data": "/charts/country-silhouettes.data.json"
}
```

## Source
Coffee bean production, Our World in Data (Food and Agriculture Organization of the United Nations (FAOSTAT)) (CC BY 4.0), retrieved 2026-12-01: https://ourworldindata.org/grapher/coffee-bean-production

Note: Each shape is drawn with its own equal-area projection, so its area is true to the value; land areas come from the outlines in world-atlas 1:50m.

Live: /charts/country-silhouettes · Manifest: /charts/country-silhouettes.json · Tags: silhouettes, shapes, coffee, food, agriculture, proportional area, countries
