Circle packingCircles inside circles.
Each item a circle sized by its value, packed inside the circle of its group. Groups and their members, at a glance.
- Answers What share does each part have?
- Your data items in groups, with a value
- Items 5 to about 100
- Levels 2 to 3
- Excel and Power BI a custom visual
- Drama
- Comedy
- Documentary
What is circle packing?
Circle packing draws a hierarchy as circles inside circles. Each item is a circle sized by its value, and the items of a group are packed inside their group's circle. It shows which groups there are, how big they are, and what is inside each, as a friendly cluster of bubbles.
A streaming service counts hours watched by genre and show. Circle packing shows three genre bubbles, Drama the largest, each holding its shows, with one drama show clearly bigger than the rest.
Why use circle packing?
Because it makes groups and their members easy to see.
- Groups are obvious. Every group is one round bubble.
- Members stay together. Items sit inside their group.
- The big ones stand out. Size is seen first.
- Friendly. It reads like a picture, good for overviews.
How does circle packing work?
Three steps pack circles into circles.
- Step 1 of 3A circle per itemEach show is a circle; its area is its hours.
- Drama
- Comedy
- Documentary
- Step 2 of 3Packed into its groupThe shows of one genre are packed tight inside a genre circle.
- Drama
- Comedy
- Documentary
- Step 3 of 3Groups side by sideThe genres sit next to each other; one show can be lit.
- Drama
- Comedy
- Documentary
What are the parts of circle packing?
Two parts, and each one has a job.
- Drama
- Comedy
- Documentary
- Groupthe outer circle holds its items
- Iteman inner circle; its area is its value
How do you read circle packing?
Three looks, in this order.
- Find the biggest groupDrama is the largest bubble.
- Drama
- Comedy
- Documentary
- Look inside itHarbour is the largest show in it.
- Drama
- Comedy
- Documentary
- Compare the groupsComedy and Documentary are about the same size.
- Drama
- Comedy
- Documentary
What kinds of circle packing are there?
The same hierarchy, three ways.
- Kind 1CirclesPacked bubbles.
- Drama
- Comedy
- Documentary
- Kind 2One group litOne genre in colour.
- Drama
- Comedy
- Documentary
- Kind 3TreemapNested rectangles: no wasted space.
- Drama
- Comedy
- Documentary
When should you use circle packing?
When groups and their members matter more than exact values.
- items sit in groups
- the shape of each group is the story
- values are sizes that add up
- the reader wants an overview
- exact comparisons matter (a bar chart)
- space is tight (a treemap uses all of it)
- values can be negative (a bar chart)
- there is no grouping (a bubble chart or bars)
Circle packing or treemap?
Circles for groups at a glance, a treemap for using every pixel.
- Drama
- Comedy
- Documentary
- Drama
- Comedy
- Documentary
A treemap fills the whole rectangle, so it shows more items in the same space and areas are a little easier to compare. Circle packing wastes the gaps between circles, but its groups are clearer and it looks friendlier.
How do you make circle packing?
A custom visual in Power BI; code elsewhere.
Excel has no circle packing chart. Power BI has circle packing as custom visuals from AppSource. In Python, the circlify package computes the circles and matplotlib draws them; D3 has d3.pack in the browser.
What goes wrong with circle packing?
The most common mistake, and its fix: radius instead of area.
- a show with twice the hours gets a circle four times as big
- the leaders look far bigger than they are
| Mistake | Why it hurts | Fix |
|---|---|---|
| Size by radius | Big items look far bigger | Size by area |
| Exact comparisons | Circle areas are hard to judge | Write the values, or bars |
| Too many tiny circles | Specks with no labels | Group as "others" |
| Too many levels | Rings in rings in rings | 2 to 3 levels |
| No labels in big circles | Readers must hover | Name the circles that fit |
Every chart for “What share does each part have?”
- One wholePie chartA circle cut into slices, for a few shares of one total.
- One wholeDonut chartA pie with a hole, with room for the total in the middle.
- One wholeWaffle chartA grid of 100 squares, each one per cent.
- One wholeParliament chartSeats in a half circle, coloured by party.
- Shares across groupsStacked bar chartBars split into parts, for totals and what makes them up.
- Shares across groups100% stacked bar chartEvery bar the same length, split into shares.
- Shares across groupsMarimekko chartStacked bars whose width is also a value, for two levels of share.
- Nested partsTreemapRectangles sized by value, nested by level.
- Nested partsSunburst chartRings of a hierarchy, from the centre out.
- Nested partsIcicle chartA hierarchy as rows of blocks, each split into its children.
- Building up to a totalWaterfall chartSteps up and down from a start to an end, for what changed a total.
- Building up to a totalPolar area chartWedges of equal angle whose length shows the value.
Read on, step by step.
Does it fit your data? Try it.
Paste your table into Chart Compass, say what the chart should show, and see the charts that fit, drawn with your own numbers. It runs in your browser, so the data stays with you.