Lesson 3 · Module 3: Charts, Gauges, Lists and Tables
Pie charts: when proportions help and when they mislead
Video coming soon
Learn it with your tutor on the live board
Key points from the video
The storm outage pie
- Morning after a windstorm, 14 outage causes
- One pie, fourteen thin slices, similar shades of blue
- Director asks: "So what caused most of it?"
- Nobody can answer from the chart
What you will learn
- What a pie chart really shows, and the two conditions it needs
- How to configure an honest pie in ArcGIS Dashboards
- How to spot a misleading pie and what to use instead
A pie shows part of a whole
- Each slice = one category's share of the total
- Share = category count divided by total
- Needs a real whole: every record counted once
- Needs few categories: about 2 to 6 slices
Building a pie in Dashboards
- Add element, choose Pie chart
- Pick layer and statistic (count or sum)
- Categories from: grouped values (e.g. pipe material)
- Set a grouping percentage for tiny slices
- Show labels as percentages
Worked example: main breaks
- 100 main breaks: Cast iron 58, Ductile iron 22, PVC 12
- Asbestos cement 5, Steel 2, Copper 1
- Grouping percentage 5: Steel 2 + Copper 1 = Other 3
- 5 is not below 5, so asbestos cement stays
- Result: 5 slices, cast iron 58 percent
When slices look alike
- Seven request types, all between 12 and 18 percent
- A pie makes them look identical
- A sorted bar chart (a serial chart in Dashboards) shows the ranking instantly
layout: side
kind: bar
title: Service requests, percent
unit: "%"
data: {Potholes: 18, Streetlights: 16, Graffiti: 15, Noise: 14, Trash: 13, Sidewalk: 12, Parking: 12}
steps:
- at: "seven request types"
show: all
- at: "sorted from largest"
sort: desc
- at: "potholes clearly lead"
highlight: Potholes When there is no whole
- Averages do not add up to a whole
- Multi-type records get counted twice
- Filtered subsets hide the true total
- Result: slices that look like shares but are not
Making pies honest
- Keep slices at six or fewer; group the rest
- Sort slices largest first
- Use distinct colors, keep them consistent across the dashboard
- Show the total in the title or a nearby indicator
Common mistake: pies side by side
- Two pies to compare north vs south districts
- Readers must compare angles across two circles
- Totals differ, so equal slices mean different counts
- Use a grouped or stacked bar chart (serial chart) instead
- District as the category, one series per cause
Recap
- A pie shows shares of one real whole
- Use it for 2 to 6 clearly different slices
- Otherwise switch to a sorted or grouped bar chart (serial chart)
Your exercise
- Open a dashboard with a category field (outages, incidents or requests)
- Build a pie; count its slices and note the total
- Apply a grouping percentage, sort, show percentages
- Build the same data as a sorted bar chart; pick one and write why
Transcript
The storm outage pie. Picture the morning after a big windstorm. The utility's operations dashboard has a pie chart of outage causes: trees on lines, broken poles, blown transformers, animal contact, and ten more. That's fourteen slices, several in similar shades of blue. The director walks in, glances at the big screen, and asks, "So what caused most of these outages?" Nobody in the room can answer from the chart without squinting and hovering over slices. The data was right. The chart choice was wrong. Pie charts are one of the most requested charts, and one of the most misused. In this lesson you'll learn exactly when a pie helps a busy reader and when it quietly hides the answer.
What you will learn. Here's the plan for the next few minutes. First, you'll learn what a pie chart actually communicates and the two conditions your data has to meet before a pie makes sense. Second, you'll walk through configuring a pie chart in ArcGIS Dashboards so it stays readable, including grouping small slices and labeling with percentages. Third, you'll learn the patterns that make pies mislead, such as too many slices, slices of nearly equal size, and values that don't add up to a whole, and which element to use instead. By the end you'll be able to defend your chart choice to a skeptical manager.
A pie shows part of a whole. A pie chart answers one question: what share of the whole does each category make up? A share, or proportion, is just the category's count divided by the total. Think of a pizza cut among friends: the slices only mean something because together they make one whole pizza. That gives us two conditions. First, the values must add up to a meaningful whole, with every record counted exactly once, like all water main breaks this year. Second, there must be only a few categories, roughly two to six. Human eyes are good at spotting "about half" or "about a quarter," but poor at comparing two thin wedges.
Building a pie in Dashboards. In ArcGIS Dashboards, you add a pie chart like any other element. Pick the data layer, say the water main breaks layer from your utility's hosted feature service. Choose how categories are made, usually grouped values of a field like pipe material. Choose the statistic: count of features, or a sum of a numeric field such as customers affected. Then look at two settings people skip. The grouping percentage folds any slice below a threshold into one slice labeled Other. And the label options let you show percentages instead of raw counts, so readers see shares directly. The official documentation shown here covers every option.
Worked example: main breaks. Let's see what the grouping percentage does with a hundred main breaks by pipe material. There are six materials: cast iron fifty eight, ductile iron twenty two, P V C twelve, asbestos cement five, steel two and copper one. We set the grouping percentage to five. Steel at two percent and copper at one percent fall below it, so they fold into one slice labeled Other, with three percent. Asbestos cement sits at exactly five percent, and five is not below five, so it keeps its own slice. The result is clean: five slices, one dominant. Anyone glancing at this pie sees immediately that more than half the breaks are on cast iron pipe, which is exactly the message the asset manager needs for next year's replacement budget.
When slices look alike. Now what happens when the categories are close in size? Here are last month's three one one service requests across seven request types, each between twelve and eighteen percent. As a pie, these become seven wedges that all look roughly the same, and the ranking vanishes. As a bar chart, sorted from largest to smallest, the order is obvious, and potholes clearly lead. Bars work because our eyes compare lengths along a shared baseline far more accurately than angles or areas. In Dashboards, the bar chart is called a serial chart, which is the Dashboards element for bar and line charts. So the rule of thumb is simple: if the point is ranking or small differences, use a bar chart, a serial chart in Dashboards, not a pie.
When there is no whole. The second way pies mislead is quieter: the numbers don't form a whole at all. Suppose someone builds a pie of average response time by district. Averages don't add up to anything, so the slice sizes are meaningless, even though they look like shares. The same happens when one traffic incident can carry several contributing factors, so it's counted twice and the "whole" is inflated. And a pie driven by a filtered view can show sixty percent of something without telling the reader what the sixty percent is of. Before building any pie, ask yourself: what exactly is the total, and is every record in it once?
Making pies honest. When a pie does fit, a few habits keep it honest. Keep it to six slices or fewer, using the grouping percentage for the long tail. Sort slices by size, largest first, so the reader's eye lands on the biggest one first. Give each category a distinct color, and use the same color everywhere on the dashboard, so storm damage is always orange in the pie, the list and the map. And always show the total, either in the chart title or in an indicator right beside it, like "412 outages since midnight." A share without its total leaves the reader guessing whether it's a big or small problem.
Common mistake: pies side by side. The most common mistake is putting two or three pies side by side to compare them, for example outage causes in the north district versus the south district. Now the reader has to compare angles across separate circles, which is even harder than comparing slices within one. Worse, if the north has three hundred outages and the south has sixty, a quarter of each looks identical but means very different counts. The fix is a grouped or stacked bar chart, built as a serial chart in Dashboards: set the district as the category, and use the split by field option on the cause field so each cause becomes its own series. One chart, a shared baseline, and honest comparison.
Recap. Let's recap. A pie chart shows each category's share of one real whole, so the values must add up to something meaningful with every record counted once. It works well with about two to six slices that differ clearly, especially when one category dominates, like cast iron pipe in the main break example. When slices are similar, when there are many categories, or when you need to compare groups, switch to a sorted or grouped bar chart, which Dashboards builds as a serial chart. With those three checks, you'll never leave a director squinting at fourteen blue slivers again.
Your exercise. Here's your task before the next lesson. Open a dashboard, or create a new one, using a layer with a category field, such as utility outages by cause, traffic incidents by type, or service requests by category. Build a pie chart and write down two things: how many slices it has, and what the total actually is. Then apply a grouping percentage, sort the slices, and switch the labels to percentages. Finally, build the same data as a sorted bar chart. Put them side by side, decide which one answers your manager's question faster, and write one sentence explaining your choice. That sentence is this whole lesson in practice: pick the chart that answers the question at a glance.
Explore the animation
The animations from the video, exact and live: play them, pause, drag the slider or jump to a step at your own pace.
Loading the animation...
Lesson summary
- Video watched
- A pie shows shares of one real whole
- Use it for 2 to 6 clearly different slices
- Otherwise switch to a sorted or grouped bar chart (serial chart)