To The Point: Sorted Doughnut Charts in Tableau Desktop

Sorted Doughnut Charts Example

Doughnut (donut) charts can be effective ways to convey percentages, but can't be used when your percentages don't add to 100, can't be sorted easily, and can sometimes be hard to compare values for...

Bad example of a doughnut chart.

How to build it

  1. Make sure the measure you would like to use is in percentage form - a positive number between 0 and 1. Tip: set default number properties to percentage!
  2. Create a calculated field for 1 - [Measure]
  1. Double click the rows shelf, type sum(0) and hit enter.
  2. Select Pie as the marks type.
  3. Drag [Measure Values] from the data panel into Angle.
  4. Add a [Measure Names] filter and untick all measure values except for the measure you want, and the [1 - Measure] calculation you created.
  5. Hold ctrl (or cmd) and drag the [Measure Names] filter into Color.
  6. On the right side of the view, you will see the measure names colour legend - make sure the measure (not [1 - Measure]) is listed first!
  7. Hold ctrl (or cmd) and drag the sum(0) in the rows shelf to an empty space in the rows shelf to duplicate it.
  8. Right click the sum(0) row you just made and click dual axis.
  9. Click the marks shelf titled AGG(sum(0)) (2) and remove the colouring and angle - make sure this marks shelf is below the one named AGG(sum(0)) to layer correctly.
  10. Resize this pie chart to create the doughnut hole.
  11. Drag the measure into Text for AGG(sum(0)) (2), and also any other information you would like to display inside the doughnut.
  12. (optional) Drag a dimension into the Columns pane and sort it by the measure you have been using.
  13. Format! Colour everything how you would like, remove all axes and lines, and do any formatting you would like. Optional: In the Color settings, set Border to black for both AGG(sum(0)) (2) and AGG(sum(0)) .

Example viz:

Link to example viz here.

Author:
Jeffrey Brian Thompson
Powered by The Information Lab
1st Floor, 25 Watling Street, London, EC4M 9BR
Subscribe
to our Newsletter
Get the lastest news about The Data School and application tips
Subscribe now
© 2025 The Information Lab