# Proportional Euler

> Use a proportional Euler diagram to show two or three sets whose circles are sized to their members and overlap only where members are shared.

- 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: **Every EU country is in the Council of Europe, and all but four are in NATO** (Current members of the European Union (27), NATO (32) and the Council of Europe (46); circle area is proportional to members)
- How to read it: Each dot is a country sitting in exactly the circles it belongs to; the EU circle sits wholly inside the Council of Europe, and NATO reaches outside it to North America.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 16:9, 9:16 (best 9:16)

## Use it when
- two or three sets, where containment and overlap are the story
- the sizes of the sets and overlaps should be felt, not read
- members can be shown as dots or listed on hover

## Avoid it when
- four or more sets (use an UpSet plot)
- exact overlap counts matter more than the picture (use a table or bars)
- the overlaps cannot be drawn with circles without distortion

## Fields (data.json)
- `sets` (category): the 2 or 3 sets, in colour order (4 or more: use upset-plot)
- `countries` (text): one row per member with the sets it belongs to (country: its name, in: its sets); whether a set sits inside, overlaps or stays apart from another comes from these

## Interactions, motion, sound
- hover or tap a dot to read which sets a member belongs to
- hover a set's name to light its members
- Play steps through the regions, listing each one's members
- Motion: The three circles open one after another, then the countries drop into place.
- Sound: A pop on hover, higher for countries in more sets. 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": "euler",
  "title": "Every EU country is in the Council of Europe, and all but four are in NATO",
  "subtitle": "Current members of the European Union (27), NATO (32) and the Council of Europe (46); circle area is proportional to members",
  "data": "/charts/euler.data.json"
}
```

## Source
Member of (P463) statements for the European Union, NATO and the Council of Europe, without an end date, Wikidata (Wikimedia Foundation) (CC0 1.0), retrieved 2026-12-01: https://query.wikidata.org/

Note: Wikidata lacked Slovakia's Council of Europe membership (since 1993, listed among the 46 at coe.int), so the fetch script adds it. Circle areas match the three set sizes and the pairwise overlaps closely; small differences are unavoidable with circles.

Live: /charts/euler · Manifest: /charts/euler.json · Tags: euler, venn, set overlap, membership, europe, eu, nato, geopolitics
