Edilitics | Data to Decisions

Donut Chart

Show how a single measure breaks down into categories as a ring with a hollow center - the proportion view of a pie chart, with room in the middle.

A donut chart - also called a doughnut chart - shows how a single measure breaks down across a small number of categories, drawn as a ring with a hollow center instead of a solid disc. Drop one categorical field into Column and one numeric field into Row. Use it when there are 2 to 6 categories and the question is about proportion, the same use case as a pie chart, with the added option of a hollow center for visual breathing room or a total figure placed alongside it.

When to Use

A donut chart answers the exact same question as a Pie Chart - what share of the whole does each category represent - with one visual difference: the center is hollow rather than filled. Choose it when the hollow center fits the design you want, or when you plan to place a total value or label near the center of the chart.

The same slice-comparison limitation applies as on a pie chart. The human eye struggles to compare the arc length or angle of two similarly sized ring segments. If two categories are close in size, viewers will likely misjudge which is larger without reading the label. If your data has several categories of similar magnitude, a Horizontal Bar chart will communicate the comparison far more reliably.

Switch to a different chart when:

ScenarioDimensionMeasure
Market share by competitorCompetitor nameSum of market share %
Budget allocation by departmentDepartment nameSum of budget
Survey responses by answer choiceAnswer choiceCount of responses
Revenue split by customer segmentSegment nameSum of revenue
Device type breakdown of site visitsDevice typeCount of sessions

Required Inputs

FieldTypeCount
DimensionCategoricalExactly 1
MeasureNumericExactly 1

For step-by-step build instructions, see Build Your First Chart.

Formatting Options

The Format tab unlocks after at least one field is assigned. Once your chart is rendering, use these controls to define how it looks and how viewers interact with it.

Style

Use the chart title to state what the whole represents - viewers need to know what 100% means before they read the ring.

ControlWhat it does
Show Chart TitleShows or hides the title. The text is preserved when hidden so you can toggle it back without re-entering.
Enter Chart TitleTitle text. Maximum 50 characters.
Font familyFont applied to the title.
Font size5 to 30.
Bold / ItalicWeight and style.
AlignmentLeft, center, or right within the chart container.

Pie Styles controls the color palette across segments, the rotation of the first segment, and the border between segments. Each ring segment also has a subtle rounded corner applied automatically, which is not user-adjustable.

ControlWhat it does
Start ColorThe color applied to the first category's segment.
End ColorThe color applied to the last category's segment. Segments in between are interpolated between Start and End. Each segment also has its own radial gradient, lighter near the center and full color near the outer edge.
Border WidthThickness of the border drawn between segments, 0 to 10px. At 0, segments touch with no visible separator.
Border ColorColor of the border between segments. Only available when Border Width is greater than 0.
Border TypeSolid, Dashed, or Dotted. Only available when Border Width is greater than 0.

Pie Radius controls the size of the ring and the size of the hollow center. This is the control that distinguishes a donut chart from a pie chart.

ControlWhat it does
Inner RadiusSize of the hollow center as a percentage of the available space, 0 to 80%. Default is 40%. Increase for a larger hole and a thinner ring; decrease toward 0 to approach the look of a solid pie chart.
Outer RadiusSize of the ring's outer edge as a percentage of the available space, 20 to 80%. Default is 70%. Increase to fill more of the chart container.

The ring's visible thickness is the gap between Inner Radius and Outer Radius. Narrowing that gap (for example, Inner 60% and Outer 70%) produces a thin ring; widening it (Inner 20% and Outer 70%) produces a thick ring.

Pie Data Label controls what text appears on or near each segment and how it is formatted. By default, labels show only the category name - turn on Show Value and Show Percentage to add more detail.

ControlWhat it does
Show Data LabelsShows or hides labels on segments entirely.
Inside / OutsideInside places the label within the ring segment - readable only on wider segments. Outside places the label beyond the ring edge with a connecting line, the default and most reliable choice for a donut chart since the ring is narrower than a full pie slice.
Auto Format LabelsWhen on, labels are automatically thinned if the category count exceeds Max Labels, preventing overlapping text on charts with many categories.
Max LabelsMaximum number of labels shown when Auto Format Labels is on, 1 to 100. Default is 24. Beyond this count, labels are skipped at a regular interval.
Show PercentageAdds each segment's percentage share of the total to its label.
Show ValueAdds each segment's raw value to its label. Turn on both Show Value and Show Percentage to display category, value, and percentage together - this gets crowded on charts with more than 6 categories.
Number TypeDefault, Scientific, Decimal, Currency, Percentage, or Custom. Applies when Show Value is on.
Display UnitNone, Thousand, Million, or Billion.
Decimal Places0 to 6. Available when Number Type is not Default.
Font Family / Color / Font Size / Bold / ItalicText styling for the label.
Text caseUppercase, Lowercase, or Capitalize. Applies to the category name portion of the label and the legend.

The legend lists every category and is the primary way viewers identify which color belongs to which segment, especially for narrow ring segments where the label does not fit.

ControlWhat it does
Show LegendsShows or hides the legend. On by default, positioned to the right of the chart.
Vertical positionTop, middle, or bottom alignment of the legend block.
Horizontal positionStart, center, or end alignment.
Show NameDefault: labels always visible. On Hover: labels appear only when viewer hovers the legend.
OrientationVertical or Horizontal legend layout. Vertical is the default and works best alongside a circular chart.
Item GapSpacing between legend items.
Font SizeLegend label font size.
ColorLegend label text color.

Interactivity

The tooltip shows the category name, its value, and optionally its percentage when hovering any segment.

ControlWhat it does
Show TooltipShows or hides the tooltip on hover.
Background ColorTooltip background color.
Headers / Values tabsSeparate styling for the category name row (Headers) and the value row (Values). The Values tab includes Number Type, Display Unit, and Decimal Places. The percentage row, when Show Percentage is on, follows the same header styling.

Keep animation on when the chart is first presented - the ring sweeping into place draws attention to the relative sizes as they form. Turn it off on dashboards that auto-refresh.

ControlWhat it does
Enable AnimationTurns the build animation on or off.
DurationHow long the animation runs, 0 to 3000ms. Default is 1000ms.
DelayTime before the animation starts after the chart loads, 0 to 2000ms.
Easing FunctionThe motion curve. Cubic Out (the default) gives a natural deceleration.

Emphasis highlights the hovered segment, making it easier to track which segment corresponds to which part of the legend or tooltip.

ControlWhat it does
Show EmphasisEnables or disables the hover effect.
Focus TypeItem: highlights the hovered segment and dims the rest. None: no visual change on hover.
Enable ScaleScales the hovered segment slightly larger, making it visually pop from the rest of the ring.
Scale SizeHow much the segment scales. Keep at 1.1 or below - large values can push the segment outside the chart boundary on a tightly cropped container.

Enable the Toolbox when viewers need to export the chart or inspect the exact values behind each segment.

ControlWhat it does
Show ToolboxShows or hides the toolbox icon bar.
Save as ImageAdds a download icon that saves the chart as a PNG.
Data ViewAdds an icon that opens the underlying data table in the chart area.

Best Practices

Keep category count at 6 or fewer. Beyond 6 categories, ring segments become thin and hard to label or compare. Group minor categories into an "Other" segment in Transform if you have more than 6.

Don't make the ring too thin. A very narrow gap between Inner Radius and Outer Radius (for example, 60% and 70%) leaves little room for labels or visual distinction between similarly sized segments. Keep at least a 25 to 30 percentage-point gap between Inner and Outer Radius for a readable ring.

Use Outside label position for narrow rings. Because a donut's ring is thinner than a full pie slice, Inside labels often do not fit even on the largest segment. Outside is the more reliable default for this chart type.

Show Percentage, not just Value, for proportion questions. The whole point of a donut chart is showing share of total. If only Show Value is on, viewers have to do the percentage math themselves. Turn on Show Percentage so the proportion is stated directly on the chart.

Use a bar chart instead when segments are close in size. If your top categories are within a few percentage points of each other, a donut chart will not let viewers tell which is actually larger without reading every label. A sorted Horizontal Bar chart makes the ranking immediately visible.

FAQs

Need help? Email support@edilitics.com with your workspace, job ID, and context. We reply within one business day.

Last updated on

On this page