# Quadrant

> Use a quadrant chart to sort items into four named groups by two measures, each split at a meaningful line.

- Data type: Several measures per item (`relationships`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`relationships`)
- Example: **Only 17 of 94 large countries have both plenty of electricity and mostly clean power** (Countries over 10 million people, 2023: electricity generated per person (kWh) and the share from nuclear and renewables)
- How to read it: Each dot is a country; the dashed lines split at the median country's electricity use and at half of power from low-carbon sources.
- Phone: Not recommended for mobile (On a phone labels are hard to read or overlap (checked by eye)) · Video formats: 16:9, 9:16 (best 9:16)

## Use it when
- two measures each have a natural threshold (a target, a median, 50%)
- readers need a verdict per item, such as which corner it sits in
- 10 to 200 items

## Avoid it when
- the thresholds are arbitrary and would mislead
- the gradient matters more than the groups (use a plain scatter)
- items sit on the lines, so the corner is a coin toss

## Fields (data.json)
- `country` (category): the item
- `kwh` (number, unit "kWh", format count): electricity generated per person, kWh a year
- `lowCarbon` (number, unit "%", format percent): share of electricity from nuclear and renewables, %

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 read the country
- hover a corner's name to light its countries
- Motion: All dots start on the crosshair and spring out to their corners, so the split is the first thing you see.
- Sound: A pop on hover pitched by corner. 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": "quadrant",
  "title": "Only 17 of 94 large countries have both plenty of electricity and mostly clean power",
  "subtitle": "Countries over 10 million people, 2023: electricity generated per person (kWh) and the share from nuclear and renewables",
  "data": "/charts/quadrant.data.json"
}
```

## Source
Share of electricity from low-carbon sources; per capita electricity generation; population, Our World in Data (Ember; Energy Institute Statistical Review of World Energy; UN WPP) (CC BY 4.0), retrieved 2026-12-01: https://ourworldindata.org/grapher/share-electricity-low-carbon

Note: Generation, not consumption: countries that import or export a lot of electricity sit slightly off their true use.

Live: /charts/quadrant · Manifest: /charts/quadrant.json · Tags: quadrant, 2x2, four groups, threshold, energy, electricity, clean power
