// SLIDE 01 — HOOK

PIE CHART

Figure 53.1 — Market Share by Product

NARRATION

Figure 53.1 , Market Share by Product

// SLIDE 02 — THE PERCEPTUAL MECHANISM

THE PERCEPTUAL MECHANISM.

A pie chart encodes quantitative values as arc length and central angle within a circle that represents 100% of the tota

The perceptual mechanism — This part-to-whole relationship is what the pie chart is uniquely good at communicating, and it is the only circumstance
NARRATION

A pie chart encodes quantitative values as arc length and central angle within a circle that represents 100 percent of the total. The viewer's visual system judges proportion by angle , the size of the "pie slice" , which is a weaker perceptual channel than position on a common axis (used by bar charts) but stronger than area alone.

// SLIDE 03 — THE HARD CONSTRAINTS — AND WHY

THE HARD CONSTRAINTS — AND WHY THEY EXIST

No more than five slices.Values must sum to a meaningful whole.Avoid multiple pies for comparison.
NARRATION

No more than five slices. Human angle discrimination degrades sharply below ~15°. At six or more slices, multiple segments become visually indistinguishable without reading the labels , at which point the chart is doing no perceptual work, and a sorted horizontal bar chart would be faster to read. This implementation enforces the five-slice limit by collapsing excess segments into "Other." Values must sum to a meaningful whole. A pie chart is categorically wrong for data that does not constitute 100 percent of something.

// SLIDE 04 — WHY IT WAS CHOSEN FOR THIS DAT

WHY IT WAS CHOSEN FOR THIS DATA.

The data structure is a complete, exhaustive composition of five or fewer categories that sum to 100% . The message is a

NARRATION

The data structure is a complete, exhaustive composition of five or fewer categories that sum to 100 percent . The message is a single-distribution story: one category dominates, and the chart communicates that dominance at a glance. The reader needs to walk away with one proportion lodged in memory , not to compare seven categories precisely. That is the pie chart's job description.

// SLIDE 05 — WHAT THE ALTERNATIVE WOULD BRE

WHAT THE ALTERNATIVE WOULD BREAK.

A 100% stacked bar chart would allow more categories, enable multi-period comparison (one bar per time period), and be m

NARRATION

A 100 percent stacked bar chart would allow more categories, enable multi-period comparison (one bar per time period), and be more accurate for precise proportion reading. It is the correct upgrade when either of these needs arise. A donut chart (togglable above) is perceptually equivalent to a pie chart but opens the centre for a summary statistic , useful when one number (total, selected percent, dominant category) needs emphasis alongside the distribution.

// SLIDE 06 — THE ONE DESIGN DECISION WORTH

THE ONE DESIGN DECISION WORTH KNOWING.

Direct arc labels — percentage values placed on or adjacent to each slice — are strongly preferred over a detached legen

NARRATION

Direct arc labels , percentage values placed on or adjacent to each slice , are strongly preferred over a detached legend. A legend requires the eye to travel off the chart, match a colour swatch, and return. A direct label eliminates that round-trip. The downside is that very small slices (under ~10°) cannot carry a readable label without a leader line , this implementation uses centroid-positioned labels and suppresses them on slices below 5 percent to prevent collision.

// SLIDE 07 — FRAMEWORK REFERENCE

FRAMEWORK REFERENCE

Framework — FT Visual Vocabulary FT Visual Vocabulary category: Part-to-whole — "How a single entity is made up of its c

NARRATION

Framework , FT Visual Vocabulary FT Visual Vocabulary category: Part-to-whole , "How a single entity is made up of its components." Abela quadrant: Composition (static, few periods). Tufte principle applied: the circle perimeter is data (100 percent of the whole); every arc is data (each category's share). The only non-data ink is the thin white stroke separating slices , necessary for figure, ground separation, not decoration.

// SLIDE 08 — PROMPT

PROMPT

pie-chart.htmla full HTML page with inline CSS and inline D3 v7 (loaded from The chart should fill the viewport, be responsive on resi
pie-chart/data.jsonthe data file the chart loads via d3.json("./pie-chart/data.json"), with a fallback inline literal in the HTML if the fe
Proportional composition data for a pie chart. Maximum 5 slicesif your dataset has more categories, either consolidate smaller ones into an 'Other' bucket or switch to a 100% stacked
labelstring — category name (keep short, ≤20 chars)
valuenumber — raw count or percentage share
NARRATION

Paste this into Claude Code to generate a working version of this chart, plus its data file. The result will not be a perfect replica , the goal is that the reader can run the prompt, get a chart of this type, and read its source. Generate a complete, self-contained pie chart in D3 v7. Two files:

// SLIDE 09 — AI WAYBACK MACHINE

AI WAYBACK MACHINE.

Émile CheyssonRun this:"Émile Cheysson"Now make the prompt better.
NARRATION

The ideas in this chapter didn't appear from nowhere. Émile Cheysson was a 19th-century French engineer and statistician who pioneered the use of pie charts and proportional area diagrams in public administration , making the form a workhorse of European government statistics decades after Playfair invented it. Émile Cheysson, circa 1880. AI-generated portrait based on a public domain photograph (Wikimedia Commons).

// SLIDE 10 — THESIS

THE CORE CLAIM.

The ideas in this chapter didn't appear from nowhere. Émile Cheysson was a 19th-century French engineer and statistician

Émile Cheysson, circa 1880. AI-generated portrait based on a public domain photograph (Wikimedia Commons).

NARRATION

The ideas in this chapter didn't appear from nowhere. Émile Cheysson was a 19th-century French engineer and statistician who pioneered the use of pie charts and proportional area diagrams in public administration , making the form a workhorse of European government statistics decades after Playfair invented it. Émile Cheysson, circa 1880. AI-generated portrait based on a public domain photograph (Wikimedia Commons).

// SLIDE 11 — CLOSE

ASK THE QUESTION. APPLY THE FRAMEWORK.

THE PERCEPTUAL MECHANISM//THE HARD CONSTRAINTS — AN//WHY IT WAS CHOSEN FOR THI

Brutalist D3 × Claude · Ch.53 · Pie Chart

NARRATION

That is the framework. Brutalist D3 times Claude, chapter 53: Pie Chart. The patterns are now in place. Apply them.

01 / 11
Brutalist D3 × Claude · Ch.53 · Nik Bear Brown