Visual walkthrough — Bar charts, pictograms, pie charts — drawing and reading
This page slows down the pie-chart formula from the parent note and re-derives it one picture at a time.
Step 1 — What "the whole" looks like
WHAT. Before we cut anything, we agree on the "whole". Collect every category's value and add them up. Call that total .
Here each (for value) is just a count — how many apples, how many students. The little numbers below () are name-tags telling apart the categories. (for Total) is the size of the entire pile.
WHY. A slice only means something compared to the whole. "10 apples" tells you nothing about slice size until you know it's 10 out of what. is that "out of what".
PICTURE. The bars on the left are the raw pile. On the right they are melted together into one solid block of height — the whole we are about to cut into a circle.

Step 2 — What "a share" means (the fraction)
WHAT. For one category with value , form the number We call the fraction (or share) of that category. It is always between and .
WHY division and not subtraction? We want proportion, not leftover. "What part of the whole is this?" is a division question — see Fractions and percentages. Subtraction () would tell us what's left over, a different question.
PICTURE. The block of height from Step 1 is sliced horizontally. Bananas take up 15 of the 30 units — exactly half the block. That "half" is the fraction .

Step 3 — Why a circle is worth 360°
WHAT. We are going to draw the whole pile as one full circle. A full turn around a circle is defined to be — see Angles. So the entire pile corresponds to .
WHY 360 and not 100 or 1? It is a convention (chosen long ago because divides evenly by so many numbers). We could use (percent) or (radians) instead — the logic is identical: the whole equals one full turn, whatever number we call it. We pick because protractors are marked that way.
PICTURE. One empty circle. A red arrow sweeps all the way round and lands back where it started — that complete sweep is labelled . This is our "whole", the same whole as the -block, just bent into a ring.

Step 4 — Stretching the fraction onto the circle
WHAT. A category owns fraction of the pile. It should own the same fraction of the circle. Fraction of is: (Greek letter theta) is the slice's angle, measured in degrees at the centre.
WHY multiply? "Fraction of something" always means multiply. Half of 360 is . A quarter of 360 is . Multiplying by scales the full turn down to just this category's part.
PICTURE. The horizontal fraction-bar from Step 2 is bent around the centre of the circle. A share of swings the arrow halfway round — a slice.

Now substitute back in and we have the whole formula:
Step 5 — Cutting the actual slices (our numbers)
WHAT. Feed each value through with .
Read each line as: count over total gives the share , then times 360 turns the share into degrees.
WHY these look right. Apples are one-third of the pile, so they eat one-third of the turn (). Bananas are half, so a straight-line slice (). Oranges one-sixth ().
PICTURE. The finished pie, sectors coloured and each angle marked at the centre. Start at 12 o'clock, sweep clockwise, laying then then .

Step 6 — The safety check (angles must close the circle)
WHAT. Add every slice angle. It must equal .
WHY it must. The shares add to (the parts make the whole), and . Algebraically: Each symbol: means "add them all"; because summing every category is the total; .
PICTURE. The three slices snapped side by side on a number line of degrees, filling exactly the span with no gap and no overhang.

Step 7 — The edge and degenerate cases
Every scenario must be covered, or the reader hits a wall you never showed.
Case A — a category with . A zero-value category gets a zero-width slice: it simply doesn't appear. That's correct — nothing was there.
Case B — one category is everything (). The single slice is the whole circle — no cut lines at all. Also correct.
Case C — total is zero (). Then is undefined — you cannot divide by zero. Meaning: with no data at all, there is no pile to slice, so a pie chart is impossible. Not a formula failure — an honest "there's nothing to draw".
PICTURE. Three mini-circles: an all-blue full circle (), a plain circle with a faint "0° — invisible" tag (), and a greyed-out circle with a "no data" cross ().

Recall Quick self-test
A category has out of . What is its angle? ::: — an invisible slice. Why can't you draw a pie chart when ? ::: You'd divide by zero; there is literally no data, nothing to cut.
The one-picture summary
The whole derivation on a single canvas: raw bars → melted block → one slice's share → that share bent onto → the finished, angle-labelled pie.

Recall Feynman retelling (plain words)
Imagine dumping all your counts into one heap; the size of the heap is . Pick one flavour — say bananas, 15 out of 30. That's half the heap, and "half" is just divided by . Now take a whole pizza. A whole pizza is one full turn, and a full turn is . Bananas own half the heap, so they own half the pizza — half of is , a straight-line slice. Do that for every flavour: count over total gives its share, share times gives its slice. Line up all the slices and they fill the circle exactly, because all the shares add to one whole. If a flavour has zero, its slice is zero degrees — you just don't see it. And if the whole heap is empty, there's simply no pizza to cut. That's the entire pie chart, start to finish.
Connections
- Fractions and percentages — the share is a fraction; every step lives here
- Angles — why a full turn is and how to lay a sector with a protractor
- Ratio and proportion — "fraction of the whole" is proportional reasoning
- Frequency tables — where the values come from
- Hinglish version of the parent