# Block tower

> Use a block tower to show heights or totals as stacks of equal blocks, so readers can count units as well as compare heights.

- 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: **Half of the world's ten tallest buildings are in China** (Height of the ten tallest completed buildings, metres; each block is 50 m)
- How to read it: Each tower is one building built from 50-metre blocks, coloured by country; the number on top is its height in metres.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9, 9:16 (best 9:16)

## Use it when
- values that are heights, counts or totals people can picture as stacks
- 5 to 12 items, in up to six colour groups (more share an "other" colour)
- a unit (a block, a storey) helps people feel the size

## Avoid it when
- values differ by orders of magnitude (the small stacks vanish)
- values can be negative
- a precise comparison of close values is the point

## Fields (data.json)
- `building` (category): each tower's label (the building name)
- `city` (place): optional: a short note under the label (the city)
- `country` (place): optional: the colour group (the country); short names for the key in the hint short
- `heightM` (number, unit "m", format count): architectural height, metres
- `floors` (number, unit "floors", format count): optional: floors above ground, for the tooltip
- `built` (year): optional: year completed, for the tooltip (after the hint builtWord)

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 height, floors and year; it lifts slightly
- Motion: Blocks drop in layer by layer across all ten towers and wobble briefly as they land, so the city rises and the tallest keeps building after the rest stop.
- Sound: 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": "block-tower",
  "title": "Half of the world's ten tallest buildings are in China",
  "subtitle": "Height of the ten tallest completed buildings, metres; each block is 50 m",
  "data": "/charts/block-tower.data.json"
}
```

## Source
List of tallest buildings, Wikipedia (from the Council on Tall Buildings and Urban Habitat) (CC BY-SA 4.0), retrieved 2026-12-01: https://en.wikipedia.org/wiki/List_of_tallest_buildings

Note: Heights are architectural heights, including spires but not antennas. The top block of each tower is the part left over after whole 50 m blocks.

Live: /charts/block-tower · Manifest: /charts/block-tower.json · Tags: stacked units, height, isotype, cities, architecture, skyscrapers
