How to Create a 3D Pie Chart in Excel with ChatGPT

Cody Schneider8 min read

Creating a 3D pie chart in Excel can instantly make your boring data feel more dynamic and visually engaging in a report or presentation. This article will walk you through exactly how to create a 3D pie chart in Excel step-by-step. We'll also cover how you can use ChatGPT as a powerful assistant to help generate data, fine-tune your designs, and even write code for advanced customizations.

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

When Should You Use a 3D Pie Chart?

Before jumping into the "how," let's quickly touch on the "when." Pie charts are designed to show a "parts-to-whole" relationship. They work best when you want to illustrate how different segments contribute to a total, like breaking down website traffic sources, quarterly sales by region, or a project budget by expense category.

The 3D effect is purely aesthetic. It adds depth and a modern feel that can make your chart stand out in a slide deck. However, it’s important to use it wisely! Data visualization experts often caution against 3D charts because the perspective can slightly distort how we perceive the size of the slices. A slice at the front of the chart can appear larger than an identically sized one at the back.

The takeaway: Use 3D pie charts for general presentations where you want to show approximate proportions and make a visual impact. If your audience needs to make precise comparisons between categories, a simple 2D pie chart or a bar chart is often a better choice.

Creating a 3D Pie Chart in Excel: The Manual Method

Let's start with the classic way to build a 3D pie chart directly within Excel. The process is straightforward and only takes a minute once your data is ready.

Step 1: Get Your Data Ready

The most important step is setting up your data correctly. For a pie chart, you need two columns:

  • A column for your categories: These are the labels for each "slice" of the pie (e.g., "Organic Search," "Direct Traffic," "Social Media").
  • A column for your values: These are the numbers associated with each category (e.g., the number of sessions, sales amount, or budget cost).

Your data should be in a simple, clean table format with headers. For this example, let's use a dataset showing quarterly online store sales by product category:

Category, Sales Electronics, $25,400 Apparel, $18,900 Home Goods, $12,650 Books, $8,200 Accessories, $5,150

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 2: Select Your Data Range

Click on the top-left cell of your data set (your first header, "Category" in our example) and drag your mouse to select all the categories and their corresponding values. Make sure you include the headers, as Excel will often use them automatically for the chart title and legend.

Step 3: Insert the Chart

With your data selected, navigate to the Excel ribbon at the top of the screen.

  1. Click on the Insert tab.
  2. In the Charts group, look for the pie chart icon (a small circle).
  3. Click the icon. A dropdown menu with different chart options will appear.
  4. Hover over the options and select 3-D Pie.

Excel will instantly generate a basic 3D pie chart and place it on your worksheet.

Step 4: Customize Your 3D Pie Chart

Excel's default chart is a great start, but you’ll want to customize it to match your report's branding and make it easier to read. When you click on your newly created chart, two contextual tabs will appear on the ribbon: Chart Design and Format.

Here are some of the most common customizations:

  • Chart Title: Double-click the default "Chart Title" text to change it to something more descriptive, like "Quarterly Sales by Product Category."
  • Data Labels: Your chart is just a pretty picture without labels. On the Chart Design tab, click Add Chart Element -> Data Labels. You can choose to show values, category names, or percentages. "Best Fit" or "Data Callout" often works well to keep things from looking cluttered.
  • Chart Styles: The Chart Design tab has a gallery of pre-built styles. Hovering over them will give you a live preview of different color schemes and background options. This is a quick way to give your chart a professional finish.
  • Change Colors: Next to the styles gallery, there's a Change Colors button. Use this to select a color palette that aligns with your company's brand colors.
  • Format 3D Rotation: For finer control over the 3D look, right-click the pie chart itself and select 3-D Rotation. A panel will open up on the right, allowing you to manually adjust the X and Y rotation and the perspective to get the perfect angle.

Supercharging Your Pie Charts with ChatGPT

Now, let's look at how you can integrate ChatGPT into this process. Think of it as your data assistant - it can’t operate Excel for you, but it can provide nearly everything you need to speed up your work.

1. Generate Sample Data with a Prompt

Don't have data to work with or just want to practice? You can ask ChatGPT to create it for you. This is perfect for learning the ropes or for creating mockups for a new report format.

Example Prompt:

Act as a marketing analyst. Please generate a table of sample data I can use to create a 3D pie chart in Excel showing website traffic sources for the month of July. Include a column for 'Source' and a column for total 'Sessions' for the month. Make the data realistic for a small e-commerce website.

ChatGPT might give you something like this, ready to be copied and pasted right into Excel: Source, Sessions Organic Search, 12,540 Direct, 6,780 Paid Social, 5,500 Email Marketing, 4,120 Referral, 2,650

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

2. Get Help with Formatting and Labeling

Stuck on how to make your chart look good and read clearly? Ask ChatGPT for design advice. You can get tips on everything from color theory to the best practices for labeling.

Example Prompt:

I created a 3D pie chart in Excel, but the data labels are overlapping and hard to read because some of the slices are very small. What are three different strategies I can use in Excel to fix this and make the chart cleaner?

ChatGPT can then provide actionable advice, such as using data callouts, manually moving labels, or "exploding" the pie to separate the slices for better clarity.

3. Write VBA Code for Advanced Customizations

For those who want to level up, ChatGPT can write VBA (Visual Basic for Applications) macros to automate repetitive tasks or apply customizations not available in Excel's standard menus.

For instance, let’s say you always want to highlight the largest slice of your pie chart for emphasis. Manually adjusting this every time you create a report is tedious. You can ask ChatGPT to automate it.

Example Prompt:

Write an Excel VBA macro that finds the largest slice in the currently selected 3D pie chart and "explodes" it by 15% to make it stand out.

You’ll get back a block of code like this:

Sub ExplodeLargestPieSlice()
    Dim Srs As Series
    Dim Pts As Points
    Dim i As Integer
    Dim maxVal As Double
    Dim maxIndex As Integer

    ' Ensure a chart is selected
    If ActiveChart Is Nothing Then
        MsgBox "Please select a chart first.", vbExclamation
        Exit Sub
    End If
    
    ' Check if it's a pie chart
    If ActiveChart.ChartType = xl3DPie Then
        Set Srs = ActiveChart.SeriesCollection(1)
        Set Pts = Srs.Points
        maxVal = 0
        maxIndex = 0

        ' Find the largest slice
        For i = 1 To Pts.Count
            If Srs.Values(i) > maxVal Then
                maxVal = Srs.Values(i)
                maxIndex = i
            End If
        Next i
        
        ' Explode the largest slice
        If maxIndex > 0 Then
            ' Reset any previous explosions
            For i = 1 To Pts.Count
                Pts(i).Explosion = 0
            Next i
            ' Explode the largest slice
            Pts(maxIndex).Explosion = 15
        End If
    Else
        MsgBox "This macro only works on 3D Pie charts.", vbInformation
    End If
End Sub

To use this, you just open Excel's Visual Basic Editor (Alt + F11), insert a new module, paste in the code, and then run the macro on any 3D pie chart you create!

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.

A Quick Note on Using AI for Data Tasks

While ChatGPT is an incredibly powerful tool, remember that it's an assistant, not an infallible expert. When you ask it to generate data, write code, or provide numerical analysis, it’s always a good practice to quickly review the output. For code snippets, test them on a copy of your work first. For data suggestions, ensure they make logical sense for your scenario. This simple verification step helps you harness the speed of AI without sacrificing accuracy.

Final Thoughts

Creating a 3D pie chart in Excel is a straightforward process for visualizing portions of a whole, and the customization options allow you to tailor it perfectly for your audience. Paired with an AI assistant like ChatGPT, you can accelerate your workflow, generate ideas, and even automate complex formatting tasks that once required deep Excel expertise. This combination empowers anyone to create professional, data-driven visuals quickly and efficiently.

While this pairing of Excel and AI is powerful, it still requires jumping between tools and manually setting up your data and designs. At our core, we believe getting insights shouldn't be so manual. That’s why we built Graphed. Instead of creating charts step-by-step, you use simple, natural language to get live marketing and sales dashboards in seconds. Just connect your data sources like Google Analytics or Shopify and ask, "Show me a pie chart of my Shopify sales by product for the last 30 days," and Graphed builds the real-time, interactive chart for you instantly — letting you skip the spreadsheets entirely.

Related Articles