How to Create Donut Chart in Tableau

Here’s how to create a donut chart, which is a variation of a pie chart.

How to Create Donut Chart in Tableau

Donut chart is a variation of a pie chart that helps reduce color fatigue and improves space efficiency by allowing you to add totals or legends in the center of the chart. It's a popular choice among users, often preferred over traditional pie charts for these reasons.

Here’s a step-by-step guide on how to create a donut chart in Tableau.

Method 1: Using Dual Axis

In this method, you’ll use a dual axis to overlay a smaller white circle on top of a pie chart, creating the donut effect.

  1. Start by creating a basic pie chart.

  1. Create two instances of an arbitrary 0 field and place them on the Columns shelf.

  1. For the second instance of 0, remove all elements except the mark type and set it to Circle.
  2. Change the color of the circle to white and adjust its size to be slightly smaller than the pie chart.

  1. Right-click the second 0 axis and select Dual Axis.

  1. Adjust the size, formatting, and headers as needed. Adding a white border to the pie chart can help visually separate the segments.

  1. Now, your donut chart is complete.

Method 2: Using the Layering Feature in Maps

This method uses Tableau’s map layering feature to overlay a smaller white circle on top of a pie chart, giving it a donut appearance.

  1. Start by creating a basic pie chart.

  1. Use the MAKEPOINT function to create a field with both latitude and longitude set to 0 (let's call it Zero).

  1. Double-click the Zero field to automatically generate latitude and longitude on the Rows and Columns shelves.

  1. Drag the Zero field to the Marks card and select Add to Layer.

  1. Remove the latitude and longitude fields from the Rows and Columns shelves.

  1. Change the second mark (representing the Zero field) to a Circle, set its color to white, and adjust the size to be slightly smaller than the pie chart.

  1. Your donut chart is done!

Bonus Tip: Multi-Layering

The layering method can be extended to overlay multiple pie charts, allowing you to create more advanced and visually interesting chart combinations. You can add more than two layers for creative variations of pie and donut charts.

For more details, you can download and review the Tableau file below.