Donut chart

Also known as: doughnut chart

On this page 7

A donut chart, also spelled doughnut chart, is a part-to-whole visualization that shows how a total divides into categories by drawing each share as an arc segment of a ring with an empty center. In data visualization, it is a close variant of the pie chart: the angle and arc length of each segment encode the category’s proportion, and the hole in the middle is typically used for a headline figure or label.

Donut charts are common in dashboards and reports because they are compact and visually familiar. They are also among the most frequently misused chart types, since human perception compares arc lengths and angles far less accurately than lengths along a common baseline.

How a donut chart encodes proportions

A donut chart maps each category’s share of the total to a fraction of 360 degrees. A category worth 25 percent spans 90 degrees of the ring, and all segments together always close the full circle. The chart therefore only makes sense when the values are non-negative parts of a meaningful whole.

Removing the center changes what the reader uses to judge size. In a pie chart, viewers rely partly on the central angle and the area of each wedge. In a donut chart, the angle is no longer visible at a center point, so readers judge mainly arc length along the ring. Perception studies suggest that donut charts are read with roughly similar accuracy to pie charts, while both remain less precise than bar charts.

The key construction parameters are listed below with typical values and what they affect.

ParameterTypical valueWhat it affects
Inner radius ratio50 to 70 percent of outer radiusSpace for labels versus segment visibility
Start angle12 o’clock, clockwiseReading order and comparability
Segment orderLargest to smallestEase of ranking categories
Number of segments2 to 5Legibility of small shares
Gap between segments0.5 to 2 degreesSeparation without distorting size
Main design parameters of a donut chart

Donut chart compared with other part-to-whole charts

The donut chart belongs to a family of part-to-whole charts, and the right choice depends on how many categories exist and how precisely readers must compare them. The comparison below places it among its closest alternatives.

Chart typeStrengthWeaknessGood for
Donut chartCompact, center holds a key figureImprecise comparison of similar sharesOne dominant share in a dashboard
Pie chartInstantly read as parts of a wholeSame angle judgment limitsTwo or three clearly different shares
Bar chartPrecise comparison on a common scaleWhole is less obviousMany categories or close values
Stacked bar chartShows composition across groupsInner segments hard to compareComposition over time or segments
TreemapHandles many and nested categoriesArea judgments are impreciseHierarchical part-to-whole data
Waffle chartCountable unit squaresTakes more spacePercentages for general audiences
Donut chart and related visualizations

The practical rule is that a donut chart is appropriate when the message is about one share relative to the whole, such as “68 percent of traffic is mobile”. When the message is about ranking or comparing categories with each other, a sorted bar chart communicates more accurately.

When to use a donut chart

A donut chart works best for a few categories with clearly different sizes and a single total that the audience cares about. It is weak for time series, for negative values and for any data where readers must detect small differences.

SituationRecommended choiceReason
Two to four categories, one dominantDonut chartThe dominant share reads instantly
Single progress value toward a goalDonut with one filled segmentRing suggests completion
More than six categoriesSorted bar chartSmall arcs become illegible
Shares that differ by a few pointsBar chart with labelsArc lengths hide small gaps
Composition changing over timeStacked bar or area chartSeveral donuts are hard to compare
Values do not sum to a wholeBar or dot chartPart-to-whole encoding would mislead
Decision guide for choosing a donut chart

A donut chart with a single segment against a gray track is a widely used variant for key performance indicators, showing for example progress toward a quota. This form overlaps with the gauge chart but keeps a full ring instead of a semicircle.

Building donut charts that read correctly

Good donut charts rely on direct labeling and restraint. Labels with percentages placed next to or on segments remove the need for a separate legend and reduce eye movement. The center should state the total or the single most important value, not repeat the chart title.

  • Group small categories into “Other” when they fall below about 3 to 5 percent.
  • Sort segments by size, starting at 12 o’clock and moving clockwise.
  • Use a restrained palette with one accent color for the share that carries the message.
  • Ensure sufficient color contrast and do not rely on color alone for accessibility.
  • Show exact values in labels or tooltips when precision matters.

Most libraries treat the donut as a pie with an inner radius. In D3.js, the arc generator takes an innerRadius parameter; in Matplotlib, a pie chart becomes a donut by setting the wedge width below the radius. Dashboard tools usually expose the same idea as a hole size percentage.

Common mistakes with donut charts

The most damaging errors either break the part-to-whole logic or make segments impossible to compare. The table lists frequent problems and their corrections.

MistakeConsequenceFix
Percentages that do not total 100Chart misrepresents the wholeCheck rounding and overlapping categories
3D or tilted ringsFront segments look largerUse flat two-dimensional rendering
Too many segmentsThin slivers and crowded labelsMerge into Other or use bars
Several donuts side by sideReaders cannot compare arcs across ringsUse a stacked or grouped bar chart
Very thin ringSegment sizes become hard to judgeKeep the ring reasonably thick
Donut chart mistakes and fixes

A further misconception is that the hole saves space for free. A large center label can draw attention away from the data, and nested or multi-ring donuts, sometimes called sunburst-like layouts, quickly exceed what readers can decode without careful labeling.

Understanding it simply

A donut chart is a pie chart with the middle cut out, like a ring sliced into colored pieces. Each piece shows what share of the total one category takes. A bigger piece means a bigger share.

The empty middle is handy for writing the most important number. It works well when one or two pieces clearly dominate, but when many pieces are almost the same size, a simple bar chart is easier to read.

Applied in practice

A municipal utility publishes a monthly dashboard on how households receive their bills. The data covers four channels: email at 62 percent, mobile app at 21 percent, paper mail at 12 percent and in-person collection at 5 percent. The communications team needs to show at a glance that paperless delivery now dominates.

The analyst builds a donut chart with segments sorted clockwise from the top, the email segment in the accent color and the rest in muted tones. The center reads 83 percent paperless, combining email and app. For the detailed year-over-year comparison of each channel, the same dashboard uses a bar chart, so the donut carries the headline and the bars carry the precision.