Crafting Insightful Donut Charts in Tableau: An AI Perspective
As an artificial intelligence and machine learning expert, I view data visualization through the lens of making complex information intuitive and actionable. Donut charts, when used effectively, are a prime example of how visual representations of data (a key component of AI) can rapidly convey insights.
In this guide, I‘ll walk you through how to create impactful donut charts in Tableau, while highlighting how AI concepts and capabilities underpin and enhance this popular visualization.
Why Donut Charts Matter
Donut charts are more than just a catchy name – they are a powerful tool for understanding the composition and relative proportions of a whole. A well-crafted donut chart can communicate key insights at a glance, making it invaluable for data-driven decision making.
Consider these eye-opening statistics on why data visualization is essential in the business world:
- Managers who use visual data discovery tools are 28% more likely to find timely information than those who rely solely on managed reporting and dashboards. (Source: Aberdeen Group)
- 74% of enterprises say that data visualization helps them make better business decisions. (Source: IDG)
- Organizations with CEOs who spearhead data-driven initiatives are 77% more likely to achieve their business goals. (Source: Forrester)
When it comes to the specific benefits of donut charts, data visualization expert Stephen Few sums it up well:
"The primary strength of donut charts is the way they facilitate easy perception of the whole and its parts in relation to one another."
In essence, donut charts are a means of dimensionality reduction – distilling a multifaceted dataset down to its core components. This aligns with a key concept in AI and ML: finding efficient ways to represent complex information.
Building Donut Charts in Tableau
Now that we‘ve established the importance of donut charts, let‘s dive into how to create them in Tableau. We‘ll be using the Sample-Superstore dataset to illustrate.
Step 1: Connect to Data
In Tableau:
- Under Connect, select "Sample-Superstore" and click "Go to Worksheet"
This loads the sample dataset, which contains sales data broken down by various dimensions like Product Category, Region, and Segment.
Step 2: Construct the Donut
To build the foundation of the donut chart:
- Drag "Category" to Columns
- Drag "Sales" to Rows
- Select "Pie" in the Marks card
- Drag "Category" to Color
- Drag "Sales" to Angle
- Adjust the Size slider to create the donut hole

This creates our baseline donut showing the total Sales split by Product Category.
From an AI perspective, we‘ve essentially trained a model to represent our high-dimensional sales data via a circular mark with angular segments. The size of each segment corresponds to that category‘s proportion of the whole.
Step 3: Add the Total
One advantage of the donut format is having a focal point to display summary info. Let‘s put the total Sales in the center:
- Drag a second "Sales" to Label
- Add a Quick Table Calculation > Percent of Total
- Format the numbers as Currency
- Drag another "Sales" to Label to show the raw total
- Format and position the labels

By adding both the total amount and each category‘s percent of the whole, we provide valuable context to the viewer.
In machine learning terms, we‘ve augmented our visual model with additional features that boost its predictive power. A user could now reasonably estimate the dollar amount of a given segment without needing to consult the raw data.
Step 4: Refine the Visuals
Polishing the aesthetics enhances both the impact and interpretability of the donut:
- Set the background color in the Format pane
- Adjust the border style and color
- Bold the category labels
- Configure the tooltip to show meaningful info
- Add a descriptive title

We now have an AI-powered data viz ready for primetime! The viewer can quickly grasp the key sales story: Technology leads at over 50%, with Office Supplies and Furniture splitting the remainder.
The combination of thoughtful data modeling, feature engineering, and design has yielded a chart that turns complex information into accessible insights – the essence of AI.
Advanced Donut Techniques
With the donut basics down, let‘s explore some sophisticated applications in Tableau:
- Comparing multiple dimensions by placing donuts side-by-side
- Using color to highlight specific segments
- Enhancing tooltips with extra data and calculations
Additionally, by integrating Tableau with AI/ML platforms like Python or R, we can apply cutting-edge analytics to our donuts:
- Anomaly detection to automatically flag outliers or unusual changes in segment proportions
- Predictive modeling to forecast each category‘s future share based on historical trends
- Optimization algorithms to determine the ideal product mix for maximum revenue
Ultimately, by wedding powerful data visualization with machine learning, there is nearly limitless potential for turning donut charts into drivers of data-driven decisions.
Donut Best Practices
To ensure your donuts live up to their potential, adhere to these guidelines:
- Keep it simple – aim for 2-5 clearly delineated categories
- Use color judiciously to differentiate segments
- Display category labels directly if possible, keeping them concise
- Choose an alternate chart type if the story is better told another way
Perhaps most critical is having solid data behind your viz. As AI pioneer Cathy O‘Neil puts it:
"A model is only as good as the data it is trained on. Garbage in, garbage out."
So before you fire up Tableau, ensure you‘re working with accurate, representative data. The most gorgeous donut is useless if it‘s based on faulty information.
Donut Charts in Action: A Marketing Case Study
To illustrate the business impact of donut charts, consider this case study from HubSpot.
The marketing team wanted to optimize their content strategy by understanding the relative performance of different topic clusters. They used Tableau to create an interactive donut displaying each topic‘s share of total page views.

Image via HubSpot
From this single visual, the team gleaned several insights:
- "Anatomy" topics were overperforming relative to their share of content production
- "Social Media" had a disproportionately small slice of page views
- "Retail" was barely registering any views at all
Based on the donut analysis, HubSpot reallocated resources to high-performing topics, pruned underperforming clusters, and targeted new content opportunities.
The result? A 40% increase in organic traffic and a 50% jump in lead generation within one quarter.
By leveraging AI-powered data visualization, the team turned a deluge of page view data into a coherent optimization strategy. The humble donut chart was the catalyst for this marketing win.
The Future of Data Viz AI
As machine learning continues to evolve at a blistering pace, its application to data visualization is poised to explode.
We are not far from a future where AI can automatically:
- Determine the optimal chart type for a given dataset and use case
- Tailor visual attributes like size, color, and scale to the user‘s perceptual abilities
- Generate written summaries of key insights in plain language
- Identify and alert us to important changes in the data over time
In essence, AI will enable us to have a conversation with our data, mediated through intuitive visuals like donut charts. Tableau, with initiatives like Ask Data, is already leading the charge.
Ultimately, the goal is to put the power of data in the hands of every decision-maker, regardless of technical ability. Donut charts are one front in this ongoing democratization of data science.
So the next time you reach for a donut (chart), know that you are not just creating a simple visual aid, but wielding a potent tool of persuasion and cognition, made possible by the wonders of artificial intelligence.