# Isometric city

> Use an isometric city to make a set of totals feel like a skyline: each item is a tower whose height is its value.

- Data type: Values per item (`compare`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`compare`)
- Example: **China's tower of CO₂ stands taller than the next three emitters' put together** (Annual carbon dioxide emissions from fossil fuels and industry, the 16 largest emitters, 2025, tonnes)
- How to read it: Each tower is a country; its height is the CO₂ it emitted in 2025, with a floor line for every 250 million tonnes.
- Phone: Not recommended for mobile (3 labels overlap on a phone) · Video formats: 16:9 (best 16:9)

## Use it when
- 8 to 20 totals where the tallest few dominate
- a skyline or 'city of data' look for an explainer
- colour can carry one grouping (up to six)

## Avoid it when
- readers must compare similar heights exactly (towers at different depths are hard to compare)
- values near zero matter
- more than about 20 items (past 25 only the largest 25 are drawn)

## Fields (data.json)
- `year` (year): the year of the emissions
- `countries[].country` (category): the country; one tower each. An optional `group` on each row (e.g. its continent) colours the towers, up to six groups; without it, meta.hints.groups maps names to groups, and unmapped ones are Other
- `countries[].tonnes` (number, unit "tonnes", format count): CO₂ emitted that year, tonnes; sets the tower's height

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 tower to read its emissions
- Motion: The towers rise out of the street grid one after another, back row first, and the tallest roofs get their numbers last.
- Sound: Soft pops on hover, pitched by rank. 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": "isometric-city",
  "title": "China's tower of CO₂ stands taller than the next three emitters' put together",
  "subtitle": "Annual carbon dioxide emissions from fossil fuels and industry, the 16 largest emitters, 2025, tonnes",
  "data": "/charts/isometric-city.data.json"
}
```

## Source
Annual CO₂ emissions, Our World in Data (Global Carbon Budget) (CC BY 4.0), retrieved 2026-12-01: https://ourworldindata.org/grapher/annual-co2-emissions-per-country

Note: Fossil fuel and industry emissions only; land-use change is excluded. Continents colour the towers and are not part of the source data. Towers further back sit higher on the page, so compare heights, not roof positions.

Live: /charts/isometric-city · Manifest: /charts/isometric-city.json · Tags: isometric, city, skyline, 3d, buildings, climate, co2, emissions
