Skip to main content
Pricing

Donut Chart

Pro

Circular chart with a hollow centre, rendered as SVG arcs, for displaying proportional data. The centre space shows a summary label (total, percentage, or key metric). Includes an external legend mapping colours and patterns to categories. Best for 2–6 segments; use a bar chart for more categories.

6 variants

Total1,247
Product A 40%
Product B 25%
Product C 20%
Product D 15%

Variants

VariantDescriptionWhen to use
DefaultStandard donut with centre label showing the total or primary metric.Use for part-to-whole comparisons with 2–6 categories — budget allocation, traffic sources.
With Center
With LegendDonut paired with a side or bottom legend listing categories, values, and percentages.Use when the chart stands alone and segments need clear identification.

Usage Guidelines

Do

Limit to 6 segments — group smaller values into an "Other" category.

Don't

Use for comparing precise values — bar charts are more accurate for that.

Do

Show the total or key metric in the centre label.

Don't

Display more than 6 segments — small slices become indistinguishable.

Do

Use direct labels or a legend — never rely on colour alone.

Don't

Use 3D perspective or exploded slices — they distort proportions.

Do

Include a hidden data table for screen reader access.

Don't

Omit percentage labels when the goal is to show proportions.

Code

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Design Tokens

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Accessibility

  • Use role="img" with aria-label describing the chart.
  • Provide aria-describedby linking to a text summary with all segment values.
  • Include a hidden data table with categories, values, and percentages.
  • Use pattern fills (hatching, dots) alongside colour for each segment.
  • Interactive segments must be focusable and announce their label and value.

Keyboard Interactions

TabMoves focus to the chart container.
ArrowLeft/ArrowRightNavigates between donut segments.
Enter/SpaceHighlights the segment and updates the centre label.
EscapeResets to the default centre label.