Ravindra BagaleCourses & study guides मराठी Track your progress

8. Charts

Excel

8.4 Pie and Doughnut Charts

1. Define the whole before drawing its parts

A trainee prepares a monthly order report for a fictional store. The owner asks which payment method accounts for the biggest share of completed Pune orders. The table contains 340 UPI orders, 70 card orders, 60 cash-on-delivery orders and 30 wallet orders. Each order has one final recorded method in the sample. Adding those four counts gives all 500 eligible orders. Now the question and four parts belong to the same whole, so a pie or doughnut can show how the counts divide it.

Think of a practice checkout report inspired by the payment choices available in Indian shopping apps such as Blinkit. These counts are fictional and describe no company's systems or actual orders. The exercise is about checking the report's denominator. If one order can be entered once under UPI and once under card, or if refunds are entered as negative orders, these four fields need different handling before they can form slices. The circle does not validate the inputs.

Remember the part-to-whole test. Each plot entry needs the same unit and scope. Each record should be assigned once to the defined population. The plotted parts must cover that population before they can show its shares.

Choose a pie, a ring or a comparison with a common baseline

  • Pie. The full circle represents the sum of one plotted series. Each wedge has an angle proportional to its positive amount. It can be useful when a few categories cover a distinct whole and one dominant share is important.
  • Doughnut. A ring shows the same proportional choice with open space in the center. The hole can hold a short verified total or context label. It does not change the share encoded by each arc. Excel can plot more than one ring, but each ring represents its own series and total.
  • Bar chart. Length from a shared zero helps compare close values. It is a useful choice when you have many categories, want precise ranking or need positive and negative values to have clear directions.
  • 100 percent stacked bar. Use one complete row per group to compare shares for multiple locations or periods. State each denominator and keep counts nearby if the groups differ in size.
  • Table. Give exact counts and shares, particularly when small slices or similar colors are hard to read. A nearby table can accompany the chart without requiring every value to fit inside a wedge.

There is no requirement to squeeze every distribution into a circle. Microsoft describes a pie as a good candidate when the values are nonnegative, very few are zero, and only a small number of categories represent the whole. For this lesson use four visible slices. An exact-value ranking needs more than differences in perceived angle. Keep the chart's scope, category definitions and unit with the figure so people can check the reading independently.

2. Lab. Show four payment methods for 500 completed orders

Goal. Build a single-ring doughnut using the original teaching data, then check the underlying proportions and the scope of the center total. Enter the first two columns below in A1:B5 on a new worksheet called Payment Mix. These are numeric order counts for the same month and location. The third column gives expected values. Do not include a check total row in the chart source.

Fictional Pune completed orders and payment shares
Final payment methodOrdersExpected share
UPI34068%
Card7014%
Cash on Delivery6012%
Wallet306%
Doughnut for 500 completed Pune orders. UPI 340 or 68 percent, card 70 or 14 percent, cash on delivery 60 or 12 percent, wallet 30 or 6 percent.
One ring covers one group of 500 orders. The amount in the center was calculated from the same set of slices.

Start with a checked denominator, then build the chart

  1. Confirm that the parts match the source

    Use =SUM(B2:B5) in E2 and expect 500. Check that four numeric fields are present and that the categories are final payment methods within one complete population. Compare with an independently known total of 500 from the source exercise.

  2. Calculate the shares in cells

    In C2 enter =B2/$E$2 and fill down. Format C2:C5 as percentages. Confirm 68, 14, 12 and 6 percent. The fixed absolute location keeps the denominator stable during fill.

  3. Insert one single-ring chart

    Select A1:B5. Use the Pie or Doughnut chart gallery and choose a 2-D doughnut where supported. Confirm the legend categories and four slices, all based on counts from B2:B5. Keep column C as a share calculation for checking.

  4. Label the ring honestly

    Use a title such as Completed Pune orders by payment method. Add category and percentage labels where legible. In supported desktop format panes, select the series and try a hole size such as 60 percent. Verify the labels still fit. If they do not, move labels outside or keep the exact-value table nearby.

  5. Connect a complete center total

    Use the verified E2 total in a chart text box if the version supports linking. It should say 500 orders or show 500 with a clear context caption. Test a numeric edit on a practice copy and check that the chart and the total show the same population.

Link the center label to a worksheet cell only after checking the scope

In a supported Excel desktop build, add a text box to the chart and select the box as an object, rather than typing into its text. In the formula bar enter an equals sign, select the worksheet cell that contains the value or complete label, then press Enter. You can prepare a short label with =TEXT(E2,"0")&" orders" in F2 and link to F2. Verify the center text updates when the source changes. If the link is unavailable or the title becomes too crowded, put the checked total in an accessible caption or nearby table. Keep the cell's underlying numeric total available separately.

Change UPI from 340 to 350 on a disposable copy. The total becomes 510, and the new UPI share is about 68.6 percent, from 350 divided by 510. The chart center, ring labels and summary should all be checked against the new total. If the ring updates and a typed text box stays 500, the figure now communicates two inconsistent denominators. Correct the link or change the text. Restore the original values before using the other examples.

Read percentages and angles as two views of the same data

A 68 percent share means 68 of every 100 orders in this sample after converting to a ratio, not 68 orders. An ideal circle angle for the UPI wedge is 0.68 times 360 degrees, or 244.8 degrees. Card, Cash on Delivery and Wallet use 50.4, 43.2 and 21.6 degrees. The hole changes the amount of filled area, while each segment still occupies its own fraction of the circle. Increase the hole only if it improves the overall layout and the accessibility of the center label.

Angle of first slice in a supporting chart format panel rotates where the series begins. The relative sizes do not change. Use an ordering that makes comparisons and labels easy to follow, such as largest to smallest, with a clearly disclosed Other group kept separate. Do not shift or enlarge individual wedges to manufacture an impression of importance. A pulled-out slice can draw attention, but emphasis does not change the data. Avoid perspective effects that change how easily the visible angles and areas can be judged.

3. Lab. Compare two locations with the same share and different counts

Goal. Compare one month of fictional completed orders at two locations. Build a count comparison and a normalized comparison. Put the first three columns below in A1:C5 on a sheet named Location Mix. The Pune column matches Payment Mix. The new Nashik column has a smaller denominator. Confirm that both locations use the same definition of one completed order.

Same payment categories for two fictional locations
Payment methodPune ordersNashik ordersPune shareNashik share
UPI34013668%68%
Card703014%15%
Cash on Delivery602012%10%
Wallet30146%7%
Pune has 340 UPI orders out of 500. Nashik has 136 UPI orders out of 200. They show different absolute bar lengths and equal 68 percent bars.
Two equal shares do not imply equal numbers of orders. Read the count and percent scales separately.
  1. Calculate both complete totals. On the worksheet sum B2:B5 and C2:C5 separately. The totals should be 500 and 200. With a fixed total reference for each location, calculate all four proportions. Verify the expected values in the table.
  2. Inspect the UPI comparison directly. Copy the city name and UPI count into a two-row helper. Insert a two-dimensional bar chart from the helper. With a common zero, the Pune bar should be 2.5 times the length of Nashik's. Check 340 versus 136 and a difference of 204 orders.
  3. Build the composition view. Make a second chart from the four payment categories and both locations. A 100 percent stacked bar is useful when the chart groups by city and uses the four methods as its series. If needed in a supporting build, switch row and column. Confirm the two city bars have the same final length and a shared 68 percent UPI segment.
  4. Give the chart reader the correct interpretation. Get the exact UPI volume from the count chart or source table. Use the normalized view for composition. Note that Wallet has a larger share in Nashik, 7 percent versus 6 in Pune, while Pune has more wallet orders, 30 versus 14.
  5. Compare with concentric rings only as an optional trial. Excel can show both series as a doughnut with two rings. In that view each ring has its own total. Do not use the apparent outer ring size to infer volume. Use the shared-baseline views if someone needs to read exact differences between cities.

Check a combined percentage with the correct weighting

For both locations together, compute 340 plus 136, or 476 UPI orders, out of 700 total. The combined UPI share is also 68 percent because the two city shares are the same. This special case could fool you into thinking the average of two city percentages always works. Check Wallet next. The two locations have 44 wallet orders of 700, or about 6.29 percent. The straight average of 6 and 7 percent is 6.5 percent. One gives equal weight to all orders, the other gives equal weight to locations. State the measure in the title before applying the formula.

Maybe the owner asks for UPI volume and UPI share in the same handout. Use the two aligned views, with a count label and an explicit share label. Keep the full 500 and 200 denominators nearby. A paired display helps someone answer the follow-up question, How can UPI be equal here and unequal there? The reply is that the same proportion was applied to differently sized populations. Make that relationship visible in the handout instead of expecting the reader to infer it.

Distinguish angle, arc length and displayed ring size

Two rings can show 68 percent each with equal fractions of a circle. An outer arc covers a longer physical path than an inner one because its radius is larger. Angular share within each series is the relevant quantity, not the outer circumference. Thick colored rings and bright fills can draw attention to a series without changing its value. Avoid relying on ring area comparisons for exact volumes. Use direct values or the count chart when volume needs an accurate comparison.

4. Check how omitted or grouped categories change a whole

Group small slices without hiding their meaning

Suppose an internal slide can show only UPI, Card and Other. In a separate summary put UPI 340, Card 70 and Other 90. Other is Cash on Delivery 60 plus Wallet 30. Check that the three plotted values still sum to 500. The new Other share is 18 percent. Keep the original four methods in the available detail table and name the components in a caption. A grouped slice is a roll-up of several categories. It is not a new single method that should be ranked as if it were one of the original categories.

A general grouping rule can be based on a documented threshold, such as methods below a particular per-period share, or a fixed policy for small categories. If you compare two periods or regions, use a consistent rule. If the composition of Other changes from one chart to the next, the labels appear the same but the underlying groups may differ. Provide the membership or a detail table. A readable bar chart often works better if all categories need individual visibility.

Run a filtered-population counterexample

On a practice copy prepare a separate three-row range with UPI 340, Card 70 and Cash on Delivery 60. Leave Wallet out intentionally. A new pie built from that range uses 470 as its total. UPI now appears as roughly 72.3 percent of the selected methods. That is not the share of all 500 original orders, which remains 68 percent. You can publish 72.3 only with the narrower scope specified. If the center still says 500, the display gives readers two different wholes. Check the center result after changing the input scope or chart filter.

If the question still means all orders, keep valid categories in the denominator. Others is a way to combine several visible slices without dropping their counts. If the question is only about known methods, say so. Do not recalculate shares based on selected parts and then silently reuse the original title. An easy verification is to calculate the selected sum beside the known overall count before inserting or filtering the chart.

Keep unresolved choices in the population without guessing a method

Try another change to the original Pune fixture. The order system supplies 25 more completed records whose method was not recorded. The new population is 525, and the counts for the four known methods did not change. If the report is all completed orders, add Unknown method as a fifth category with 25. Then the known UPI share is 340 divided by 525, about 64.8 percent, and Unknown is about 4.8 percent. Verify all five parts cover the full population. Counting unknowns in a clearly marked category can keep the denominator correct without inventing their method.

A report restricted to known methods can keep the original 68 percent and list 25 unresolved records separately. Both views can be valid when their scopes are explicit. They answer different questions. If you forget to label the narrower view, a reader may incorrectly conclude that 68 percent is the share among all 525. Also distinguish unknown from a confirmed payment method count of zero. A method with a confirmed zero simply contributes no area to the chart's valid whole.

Review duplicates, negatives and overlap before normalizing

Think of an order that paid part using a wallet and part using a card. Counting it once under each method causes the category sum to exceed the number of completed orders. The chart can draw a full circle anyway because it divides by the sum of listed parts. If the question is count of orders by one payment classification, distinguish Mixed or apply a documented rule to assign each order once. If the measure is rupee amounts by payment method, the two amounts can be separate positive portions of a consistently defined total. Label rupees rather than orders. Those two designs cannot share an unexplained denominator.

Refunds are another example. A negative amount belongs in a measure that preserves sign and direction, such as a signed bar or a reconciliation waterfall. A wedge of a circle does not provide a negative direction on a common axis. Do not take absolute values just so a chart can draw positive wedges. Decide whether the audience needs gross payments, refund amounts as a separately defined positive composition, or net change. Keep signs and source populations clear. If all eligible values sum to zero, a percentage distribution is undefined. Report the zero total directly or hold the distribution for interpretation.

5. Make the slice labels support the intended comparison

Show enough context to decode exact prices, counts and shares

The chart label 68% is concise, but it needs separate context for the unit, location and reporting period. Use a title or caption such as Share of 500 completed Pune orders by final payment method in the sample month. If the chart shows counts instead, make sure the reader sees that 340 is an order count. When showing both on a large chart, keep the formatting consistent. A table can give the exact counts and shares without forcing every small slice to fit a long label. The decision is about what the reader needs immediately.

On supporting Excel builds, add data labels using Chart Design or the Chart Elements button. Choose More Data Label Options and find Category Name and Percentage for the doughnut. Remove Value if it repeats a number you show in the accessible table. The available positions vary by chart version and type. Test an outside label or a short label with a key when Ring labels overlap. To keep identifying information readable in grayscale, consider direct labels, patterns where supported or at least an exact category table beside the figure.

Some figure styles emphasize a near slice through depth or perspective. Keep a flat view for proportional comparison. The intended mapping is the relationship between each slice and the full circle. 3-D angles and alternate viewing positions can make a sector nearer the viewer appear visually larger. An exploded effect can also make boundaries less straightforward to compare. If the key message is that UPI dominates, a consistent color, direct label and stated share makes the point without changing the geometry.

Use clear rounding rather than editing the totals to fit a display

On a scratch sheet put three equal categories of one order each. Their exact shares are each one third of the total. Displayed to one decimal, each is 33.3 percent and the three displayed labels add to 99.9 percent. The chart still covers 100 percent of the total. Do not change one group's count to make the rounded numbers add up exactly. Give a separate sum from unrounded numbers and mention that labels are rounded if readers could interpret the difference as a data problem.

Now try close relative shares such as 49 and 51 percent. The difference is two percentage points. A common baseline bar makes that exact gap easier to compare than an estimate of angular size. Rounding both to whole percentages is fine for these exact values. If the true shares are 49.51 and 50.49, however, the same display precision can make both look like 50. Use the level of precision the decision requires and keep more precise values in a table. Do not conclude equality only from two rounded labels.

Decide where the exact calculation happens

A chart can calculate and display percentages of what it is plotting. A separate worksheet share formula lets you inspect the actual denominator. Compare the two. If the worksheet percentage 68 is based on all orders and a pie label appears as 72.3, examine whether a category was omitted. A display difference can also come from rounding. Read the underlying counts and selected cells. Use formulas with a fixed reference when filling the denominator down, and verify the totals in a different check cell or against the original known source count.

Be careful entering 68% and 68 into the same column. Excel ordinarily stores an entered 68 percent as 0.68. A number 68 is one hundred times that underlying value. If every amount is already a percentage from a common whole and sums consistently, you can model its distribution, but the original counts preserve the denominator and reduce mistakes. Avoid mixing one number entered as 68 and another as 0.14 when they are meant to represent comparable shares. Label the data field and check the arithmetic first.

6. Audit a pie or doughnut before sharing the workbook

Work back from one slice to the original rows

  1. Define the population in plain language. State whose orders, which location and dates, whether a refund is counted and how each payment method is assigned. If the population is only known methods, say so.
  2. Balance the measures independently. Start with the known total of eligible records, then sum the category counts. If the results differ, look for duplication, missing categories or an unapproved filter. A full circle is not evidence that the balance passed.
  3. Check nonnegative comparable amounts. A completed order count and a refunded amount in currency belong to different measures. Remove or show a category as unknown only according to the reporting rule. Do not group independently measured rates into a single pie.
  4. Test excluded categories. Try dropping Wallet and compare 470 to 500. Try grouping cash and wallet under Other, and check the total remains 500. These two operations look similar on a small chart but have different effects on the denominator.
  5. Check label and center text updates. Make a controlled change to one known count and check the ring, percentage labels and the total or title. If the chart is shared without linked data, place a useful date or version note near the checked image.
  6. Provide exact values and accessible descriptions. Include the table and an accurate alt description. If the smallest label is difficult to read, make it larger or move exact values to the table instead of shrinking all text.

Run a final reconstruction in conversation. Ask someone who reads the chart where the 68 percent came from. A good answer is 340 UPI orders among 500 completed original Pune orders. Ask what the count would imply if Pune and Nashik share the same proportion. The second answer is that counts can differ because their denominators differ. If the chart alone makes them guess, add direct labels or a simpler comparison. Check the numbers against both the source range and the story around the figure.

Decide whether you need a chart to communicate this particular part

A strong finding can be split into an exact sentence and a small chart. If the only takeaway is that 340 of 500 orders used UPI, a plain sentence and a table may be more useful than a detailed ring. If the four-way split is important, the ring can show the dominant part and the exact values can stay below it. If you want to compare small differences among several cities, choose common-scale bars. Do not force the same chart style onto every slide simply because it worked once.

For additional practice choose an appropriate item in the Excel Task Hub. Write the intended denominator before a chart task. Then show a test copy in which one category is filtered out and state whether the denominator should stay constant. Continue to Combo Chart with a Secondary Axis when you need to show different measures while keeping their axes and scope clear.

Reconcile a genuine data correction without moving the total

Return to the Pune example with 25 Unknown method orders. A later verification identifies 10 as UPI, 8 as Card, 5 as Cash on Delivery and 2 as Wallet. On a disposable sheet add these to their verified method counts and remove the Unknown amount only when all 25 records are accounted for. The new method counts are 350, 78, 65 and 32. They still total 525. UPI now has about 66.7 percent of all completed orders. In the previous full-census chart the same category had about 64.8 percent. Here the population stayed fixed and new evidence changed the classification. Mark the report version so the shift is understood.

Compare this correction with filtering Unknown out while its details are still missing. Filtering would temporarily reduce the chart's source population to 500 and show 68 percent. That is a scope change, not a recovery of the missing methods. A real handoff should record both population size and the reason for the percentage movement. Place the verified table beside the chart. It should show the same total as the center or title and the same counts used for each arc.

Retain the count of recovered records as an audit field. If only 20 method confirmations arrive, leave five in Unknown and keep the 525 total. A fresh-looking chart should not imply that the entire exception queue was resolved. Reconcile known, unknown and unchanged rows separately so the update can be reproduced.

Use a reconciliation table where scope is hard to see

Prepare separate check cells for completed orders, unique classified orders, Unknown method records and the sum of displayed categories. In the original sample all 500 orders have a known method, so remaining Unknown is zero. In the later file before recovery, known stays 500, unknown is 25 and the total is 525. If the chart covers all orders and its input only sums to 500, the row counts flag an incomplete denominator. Add a review status and trace missing records rather than correcting a label manually.

Now suppose an intake procedure counts each checkout attempt by payment option. A canceled UPI attempt followed by a successful card payment appears twice as an attempt, and only once as a completed order. Summing attempts gives a legitimate total under an attempts measure. The same count would not match completed orders. Choose which event one record describes. An audience interested in payment failures may want attempts by outcome instead of successful final methods. The chart title and the data-selection rule should name the same event.

Keep a split consistent across two charts

If the comparison uses a merged Other group, decide which methods belong to it in both locations. Grouping cash and wallet for Pune gives 90 of 500, or 18 percent. Applying the same method list in Nashik gives 34 of 200, or 17 percent. The comparison is meaningful because the category definitions match and the different denominators are shown. If each city groups its own two smallest methods without naming them, equal-looking labels could refer to different combinations. Verify the parts in the underlying table before comparing the result.

To challenge a figure, ask what would happen if a new payment method arrives tomorrow. If it belongs to the population, it must appear as its own count or in a documented group. If the worksheet adds a row but the plotted range remains fixed, both the group mix and the center label could be stale. Check the range after adding one known practice category and recompute the expected percentage independently. Use a data display that can be verified when the next month changes the categories.

7. Interview questions with worked answers

When is a pie chart appropriate?

Choose it for a few positive, nonoverlapping category amounts in one series that cover a specified whole. The payment fixture has four valid modes for 500 orders. If the task is precise comparison of many similar values, use a bar chart or exact table and state the same scope.

What do you check when the chart percentages disagree with a worksheet?

Compare the denominator, selection and rounding. Omitting Wallet leaves 470 visible orders and lifts UPI to about 72.3 percent of those plotted methods. The complete population still gives 68 percent. Review the figure title and any linked center label after filtering.

How do you compare two doughnut rings?

Each ring represents its own series and normalizes to its own total. Read angular fractions within each ring and verify labels. Equal 68 percent shares can correspond to 340 and 136 orders. To compare absolute volumes use a common-scale bar or table.

Why shouldn't you draw a pie chart of signed refunds and sales?

A circle does not show direction around a shared zero. A negative refund may need a separate signed bar, summary or waterfall. Decide whether the analysis covers gross sales, positive refund magnitudes as a separate whole, or net balances. Do not strip signs to force slices.

What should be printed in the center of a doughnut?

A short label that helps interpret the same plotted population, such as 500 completed orders. Link it to the appropriate sheet cell where supported and validate after an input change. If the plotted subset or definition changes, the number must reflect that same scope or be positioned outside with a clear explanation.

8. Predict the slice and its denominator

What is the original Pune UPI share?

340 divided by 500, which is 68 percent. The 340 is a count and 68 percent is a ratio. The chart uses the same total of 500 for all four payment methods.

What happens if cash and wallet are grouped as Other?

Other has 90 orders and 18 percent. The total of 500 remains intact because both original counts are still included within a grouped slice.

Does equal 68 percent mean Pune and Nashik had the same UPI volume?

Pune has 340 of 500 and Nashik has 136 of 200. Their shares match, but the volumes differ by 204 orders. Read counts on the common count scale.

How can three equal shares show a displayed total of 99.9 percent?

Each exact share is one third. The three rounded 33.3 labels add to 99.9, even though the unrounded whole is 100 percent. Keep the exact data and document the rounding.

Is an unrecorded payment method automatically a zero count?

No method was assigned. If these are verified completed orders, code them as Unknown in a full population share or disclose the excluded counts in a known-only view. A zero for one method and a missing assignment are different conditions.

9. Six reminders

  • Define the complete whole.

    State which location, period, eligibility and unit the circle covers.

  • A ratio needs its denominator.

    Percentages can change when parts are filtered or combined.

  • Use slices for compatible parts.

    Check positive values, exclusive assignment and category coverage.

  • Compare close values with a baseline.

    A bar chart or table reveals small differences precisely.

  • Keep counts beside shares.

    Equal ratios can come from very different total counts.

  • Check the label after a change.

    Keep the ring, center text and surrounding description tied to the same selection.

Microsoft references