How to Put Labels Inside Pie Chart in Tableau

Cody Schneider7 min read

Showing labels cluttered outside a pie chart can turn a simple visualization into a confusing mess. The solution is to place the labels directly inside each slice, making your data story clean, immediate, and easy to understand. This detailed guide will walk you through exactly how to put labels inside a pie chart in Tableau, including how to format them for maximum clarity.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

First Things First: Building a Basic Pie Chart in Tableau

Before you can add labels, you need a pie chart. If you already have one built, feel free to skip to the next section. If not, here’s a quick and easy way to create one using Tableau’s sample data.

Let's use the Sample - Superstore dataset that comes with Tableau. Our goal will be to visualize Sales by Category.

  1. Connect to Data: Open Tableau and, under "Saved Data Sources," select "Sample - Superstore."
  2. Change the Mark Type: In the Marks card, click the dropdown menu that says "Automatic" and select "Pie." You'll just see a small circle in the middle of your canvas for now. Don't worry, that's what's supposed to happen.
  3. Define the Slices: Drag the dimension you want to use for your slices from the "Data" pane over to the Color tile on the Marks card. For our example, drag Category to Color.
  4. Define the Slice Size: Next, drag the measure you want to use to determine the size of each slice to the Angle tile. For our example, drag Sales onto Angle.

You now have a basic pie chart! Each slice represents a product category, and the size (or angle) of each slice corresponds to its total sales. You can make the chart bigger by holding Ctrl + Shift + B (on Windows) or Cmd + Shift + B (on Mac).

How to Put Labels Inside Your Tableau Pie Chart

Now for the main event. Getting the labels inside the chart is all about using the "Label" property on a Marks card. It’s a simple drag-and-drop process.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Step 1: Add the Category Label

To identify what each slice represents, you need to add the category name. In the "Data" pane on the left, find your dimension (in our case, Category) and drag it directly onto the Label tile on the Marks card.

Instantly, Tableau adds the names "Furniture," "Office Supplies," and "Technology" to their corresponding slices in the pie chart. If the slices are large enough, the labels will automatically appear inside.

Step 2: Add the Measure Value Label

Knowing the category is great, but you also want to see the performance metric - in this case, the sales figures. To do this, drag your measure (Sales) from the "Data" pane and drop it onto the Label tile as well. Now both the category name and its sales value appear on each slice.

That’s the basic method! You’ve successfully moved your key information inside the chart. But we can take this much further by formatting the labels to show exactly what you need in the most readable way possible.

Customizing and Formatting Your Pie Chart Labels

Simply adding labels isn't always enough. You’ll often want to adjust the formatting to improve clarity, such as showing percentages, changing the text layout, or modifying font sizes.

How to Show Percentages as Labels

One of the most common requirements for a pie chart is to display the percentage of the whole for each slice. Here's how to convert your sales value into a percentage.

  1. If you haven't already, drag Sales to the Label tile.
  2. On the Marks card, find the SUM(Sales) pill that's on the Label tile. Right-click it.
  3. From the context menu, navigate to Quick Table Calculation > Percent of Total.

Your labels will instantly change from raw dollar amounts to decimal values (e.g., 0.3396). To make these look like actual percentages, all you need to do is format them:

  1. Right-click the SUM(Sales) pill on the Label tile again.
  2. Select Format...
  3. The Format pane will open on the left side of your screen. Under the "Numbers" dropdown in the Default section, select Percentage.
  4. You can choose the number of decimal places you'd like. Zero or one is usually best for decluttering visuals.

Now your pie chart clearly shows the contribution of each category as a clean percentage.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Combining Different Labels (e.g., Category, Sales, and Percentage)

What if you want to show all the information at once? It's possible to display the category name, the raw sales value, and the percentage together within a single label.

  1. First, make sure Category is on the Label tile.
  2. Next, drag Sales onto the Label tile twice. You will now have three pills on the Label tile: Category, SUM(Sales), and SUM(Sales) (a copy).
  3. Right-click one of the SUM(Sales) pills and convert it to a Percent of Total using the Quick Table Calculation method described above.
  4. Click on the Label tile to open the label editor. You’ll see a button with three dots ("..."). Click it. This opens the "Edit Label" dialog box.

Inside this box, you have full control over how your labels are arranged. You can rearrange the text, add custom text, change fonts, and adjust alignment. For instance, to stack all three pieces of information, you can arrange it like this:

<Category>, <SUM(Sales)>, <SUM(Sales) (Percent of Total)>

You can customize the arrangement and text to your liking. Feel free to format your sales value to include a currency symbol and reduce the decimal places on the percentage to make it even cleaner.

Dealing with Overlapping or Hidden Labels

Sometimes, if a pie slice is very small, Tableau might not display its label to avoid clutter. If you absolutely need all labels to be visible, you can click on the Label tile and check the box that says "Allow labels to overlap other marks."

Be careful with this setting. While it forces every label to appear, it can make your chart look crowded and difficult to read if you have too many small slices. This is often a sign that a pie chart may not be the best visual for your data. In such cases, a simple bar chart is usually a much better choice for comparing a large number of categories.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Pro Tips for High-Impact Pie Charts

Putting labels inside the chart solves a major design problem, but here are a few other tips to ensure your pie chart communicates effectively.

  • Limit Your Slices: The best pie charts have between 3 and 7 slices. More than that, and it becomes a "rainbow pizza" that's hard to interpret. If you have more categories, group the smallest ones into an "Other" category or switch to a bar chart.
  • Order Slices Logically: Arrange the slices in a logical order, such as from largest to smallest, starting at the 12 o'clock position and moving clockwise. This makes it easier for viewers to compare values.
  • Use Color Thoughtfully: Use distinct, contrasting colors for your slices. Avoid using a rainbow of colors, as it can be distracting. A monochromatic palette (shades of a single color) or your brand's color palette can look very professional.

Final Thoughts

Moving labels inside your Tableau pie charts is a simple but powerful technique to improve the clarity and impact of your dashboards. By using the Label property on the Marks card and applying some thoughtful formatting, you can turn a potentially confusing visual into one that provides instant, at-a-glance insights.

Mastering tools like Tableau is an incredibly valuable skill, but often the biggest bottleneck is moving from raw data to a finished report, especially when you need to pull data from different platforms. This is where we designed Graphed to help. Instead of manually wrangling data and dragging and dropping to build visuals, you can just ask questions in plain English like, "show me sales by category as a pie chart with percentage labels." Our platform automatically connects to your sources like Google Analytics, Shopify, and Salesforce to build real-time, shareable dashboards in seconds, so you can spend less time configuring and more time acting on your data.

Related Articles