Visualizing Parts to a Whole in Excel Charts

Mynda Treacy

November 30, 2017

When you think of visualizing parts to a whole in Excel charts the first thing that’s likely to come to mind is the pie chart, or if you’re Homer Simpson then you might think of doughnut charts!

Being outnumbered 3:1 by football (soccer) fans in my household, I get to see my fair share of “the beautiful game” on TV. To pass the time I often find myself looking at the match statistics posted on the screen.

Football stats typically focus on possession, shots, corners, fouls and other comparisons that often bear no correlation to the outcome of the game, although I’m not complaining as they help to pass the time 😊

Using football as inspiration, let’s look at our options for visualizing parts to a whole data using this standard set of football statistics:

football stats

Pie Charts

We’ll start with the obvious and most favored among data visualization novices; the pie chart.

If you know me then you’ll know that I’m not a fan of pies, unless they contain apple and are edible 😊

That said, recently I’ve relaxed a little and used the occasional 2 or 3 segment (max) pie chart, but in doing so it only reinforces my reasons for disliking them.

My biggest gripe with pie charts, aside from when used poorly, is that they’re space hogs. Just take a look at the examples below (note: I would normally use colors from the football club logos in my charts, but the red is a bit harsh and the other colors clashed, so I abandoned them. If in doubt, go neutral.):

pie chart example

I even simplified them by extracting the legend and placing it at the top of the charts. After all, I don’t need to repeat it in each pie.

Sure, I could try to make them even smaller, but that’s just more fiddling about and I’m way too busy for that. I need my pies like fast food, ready to consume with one or two clicks.

The other downside of pies when used in multiples is they make it difficult to compare one metric to the next, not that it’s always relevant to do so, but if it was then pies make it hard work.

Doughnut Charts

Doughnut charts aren’t any better. Like their namesake they're certainly not slimming; they're big, chunky, space hogs:

doughnut chart example

100% Stacked Column/Bar charts

My preferred way to visualize this type of data is using a 100% stacked bar chart. You can also use column charts, but if your category axis labels are long then you’ll want to stick with bars.

Visualizing Parts to a Whole in Excel Charts - stacked bar chart example

Advantages of Bar Charts over Pie Charts

  1. The main advantage of the bar chart is the ability to convey a lot of information in a very small space, which is essential when building Dashboards.
  2. If you’re wanting to compare multiple items, then the bar chart makes is a lot quicker.
  3. In Excel charts the bars are contained in one chart object, so if you want to make formatting changes you only have to do it once. For example, I could easily make those bars even smaller with a simple left click and drag of the corner.

However, if you or your boss insists on using pie or doughnut charts, then you should follow some rules:

  1. No more than 3 segments. Anymore and the comparison ability is lost, plus your reader will spend too much time trying to map the legend to the segments to understand the components.
  2. Make sure your segments are ordered from largest to smallest starting at 12 o’clock. You’ll notice that Excel doesn’t do this for you, you must sort your data. Case in point; the Tackles pie and doughnut charts.
  3. Don’t use labels on sticky-outy leader lines. If the labels don’t fit in the segments, use a different chart.

If you run into problems 1 or 3 above, use a clustered (not 100% stacked) bar chart instead.

Oh, and if you're ever tempted to create an exploding pie chart like this:

exploding pie chart example

Don't! Instead consider a layered bar chart like this:

layered bar chart

Other Parts to a Whole Visualizations

We're not limited to pies, doughnuts and bars for visualizing parts to a whole. Here are some other options available in Excel.

Stacked area charts – show data over time:

stacked area chart example

Although I think a good-old line chart is better for allowing comparisons in the data:

line chart example

Treemaps (available in Excel 2016 Office 365) – use with hierarchical data

treemap example

Sunburst (available in Excel 2016 Office 365) – also use with hierarchical data:

sunburst chart example

Note: Treemap and Sunburst charts aren’t available as Pivot Charts, yet!

The issue I have with Treemaps and Sunbursts, aside from their sheer size, is that small segments are lost. If you’re not interested in the small segments then that’s ok, but if you want to know what they are, then use a bar chart:

bar chart example

Or a layered bar chart :

layered bar chart

Marimekko – categorical data with two variables.

Marimekko

Image credit; www.peltiertech.com

There’s no built-in Excel chart type for the Marimekko, but Jon Peltier of Peltier Tech has an Excel add-in that can do it:

Peltier Tech Chart Utility

Peltier Tech Chart Utility – available for PC and Mac

Labels – don’t feel that you must always display proportions visually. If you only have one headline figure to highlight, why not just show the number in a label:

labels

Download the Workbook

Enter your email address below to download the sample workbook.

By submitting your email address you agree that we can email you our Excel newsletter.

Please Share

If you liked this please click the buttons below to share.

email icon twittericon fb icon LI icon
AUTHOR Mynda Treacy Co-Founder / Owner at My Online Training Hub

CIMA qualified Accountant with over 25 years experience in roles such as Global IT Financial Controller for investment banking firms Barclays Capital and NatWest Markets.

Mynda has been awarded Microsoft MVP status every year since 2014 for her expertise and contributions to educating people about Microsoft Excel.

Mynda teaches several courses here at MOTH including Excel Expert, Excel Dashboards, Power BI, Power Query and Power Pivot.

Leave a Comment

Current ye@r *