What to notice & try
What to notice
- The tabs run from comparison (Bar Chart) to trend (Line, Area), part of a whole (Pie) and relationship (Scatter). Stacked and Grouped split the same monthly revenue into store and online sales, so you can ask both layouts the same question.
- Line and Area draw the same revenue — Area only adds the fill, and with it the claim 'counted from zero'. On the Pie tab, Show as bars draws the same shares as lengths.
- Related elsewhere: colors some readers can't tell apart → Lecture 4 (Color Blindness); is a far-out point an error or a real extreme? → Lecture 2 › Outliers; dot size as a third variable → Lecture 3 › Size.
Try this
- Open Bar Chart › Normal and toggle Sort descending — notice how much faster the ranking question becomes.
- Open the Pie Chart tab, pick 15 products and try to rank the five biggest slices — then turn on Show as bars.
What to notice & try
What to notice
- Every bar starts at the same zero — that's what makes lengths directly comparable.
- Unsorted, July (94) and November (95) have three bars between them and differ by one — hardly anyone can rank them by eye; sorted, they stand side by side and the runner-up is simply the second bar.
- Cut the axis at 40 and January (45) keeps a bar 5 units tall while December (112) keeps 72 — December looks about 14× bigger, though it is only 2.5× bigger.
- Value labels give exact numbers, but too many labels start turning the chart back into a table.
Try this
- Turn on Sort descending and name the top three months — then turn it off and try again.
- Turn off Y axis from zero: how many times bigger does December look than January now? Turn on Show values and check — it's 2.5×.
- In the code, set CUT_AXIS_AT = 44 and Run with Y axis from zero off — how tall is January's bar now, next to December's?
What to notice & try
What to notice
- The bar tops are the totals — the same monthly revenue as on the Normal tab — so the first question is easy: December, 112.
- Only the bottom segment (Store) starts at zero. Online floats on top of it — in August from 61, in October from 40 — so the segment that ends higher is not the bigger one: August 26, October 28.
Try this
- Turn on Show values and answer the August/October question again — the labels settle it, but now you're reading 24 numbers, not a chart.
- In the code, swap ORDER to ['online', 'store'] and Run. August vs October is easy now — which series became the hard one?
What to notice & try
What to notice
- Every bar — not just the bottom segment — starts at zero, so August's 26 and October's 28 are compared as plain lengths.
- What you lose is the total: to find the best month you'd have to add two bars in your head.
- Two series already halve every bar's width — add 'marketing' in the code and look again.
Try this
- On the Stacked tab, try to say in which months Online sales went down from the previous month; then do the same here.
- In the code, add 'marketing' to SERIES and Run — how much thinner do the bars get, and is the Online pattern still easy to follow?
What to notice & try
What to notice
- It's the slope between two points — not their height — that shows the rate of change: Oct → Nov (+$27K) is the steepest climb, Jul → Oct the longest dip.
- Because a line encodes change by slope, not by length from zero, it may zoom the y axis in to the range the data covers — a bar chart may not.
- The dots are the measured months; the line between them is only implied.
Try this
- Turn off Y axis from zero — the dips get deeper on screen. Why is zooming in an accepted choice for a line, but a distortion on the bar chart?
- Set Line width to 6 — what happens to the dots that mark the actual months?
- In the code, set SORT_MONTHS_ALPHABETICALLY = True and Run — the same twelve points in A–Z order. What 'trend' does the line show now, and what does it mean?
What to notice & try
What to notice
- Overlaid areas both start at zero, but at full opacity the chart looks exactly like a stacked one — the blue band then reads as 'revenue on top of marketing'.
- At lower opacity the two fills mix where they overlap — a third, blended color that belongs to neither series, the price of overlaying instead of stacking.
- With one series the fill only adds weight: the same revenue as on the Line tab, now read as an amount, not just a direction.
Try this
- Turn on Overlay marketing and drag Fill opacity to 1.0. Does it still look like two overlapping series, or like one stacked total? What would a reader say July's revenue was?
- In the code, set FILL_FROM = 40 and Run (with Overlay marketing off) — how many times taller does July look than January? The revenue says about 2×.
What to notice & try
What to notice
- Q3 (28.2%) and Q4 (30.2%) differ by two percentage points — about seven degrees of arc. With the percentages hidden, the picture alone won't settle which is bigger: angles and areas are judged far less accurately than lengths or positions on a common axis.
- With 15 products most parts can't be ranked: Monitors, Tablets and Headphones (9.2, 8.9, 8.7%) look the same, and so do Printers, Cameras and Speakers (6.8, 6.6, 6.4%).
- A donut reads about the same as a pie — no better, no worse. Its hole only frees the center for a label, here the total.
Try this
- Decide from the wedges alone whether Q3 or Q4 is bigger, then turn on Show percentages to check.
- Turn on Show as bars — the same data. Is Q3 vs Q4 still a question? Then pick 15 products and switch between the two views.
- In the code, set SORT_SLICES = True and pick 15 products: the wedges now run from biggest to smallest, clockwise from 12 o'clock. The biggest is easy to find now — but is it the angles that show Monitors is bigger than Tablets, or only their order? (Turn on Show percentages: the two smallest labels collide — one more thing a pie can't fit.)
- In the code, set MERGE_BELOW = 4 and pick 15 products: four slivers become one 'Other'. Fewer wedges — but turn on Show as bars: which part is the biggest now, and is that what the chart should say?
What to notice & try
What to notice
- With the outlier in, the fitted slope drops from +0.14 to about zero — the line now says units and revenue are unrelated, on data where twelve of thirteen points say the opposite.
- The damage needs two things at once: the point sits far out along x, where nothing else holds the line in place, and far off the trend. Least squares minimizes squared vertical distances, so such a point pulls the line hardest.
- Is such a point an error or a real extreme? The chart can't tell you — Lecture 2 › Outliers shows how to decide.
Try this
- Turn Add outlier on with Show trend line on: the dotted gray line is the fit the twelve real months give on their own, the red one is the fit with the outlier in. Compare the two slopes.
- Leave the outlier on and turn Show trend line off — with only the dots to go on, would you have drawn either line?
- In the code, set OUTLIER = (700, 35) and Run — the same wrong revenue, but inside the range of x. Then try (1400, 200): far out, but on the trend. How far does each pull the red line from the gray one?
No parameters for this demo.
Color carries no data here — one hue keeps attention on bar length, the real encoding.
Labels give exact numbers when two bars are too close to judge by length.
Sorting trades 'read this as a timeline' for 'read this as a ranking'.
Bar length is the value — cut the axis and the lengths lie, whatever the tick labels say.
Color only tells the series apart. Try red here and green for Online — then see Lecture 4 (Color Blindness) for who can't tell them apart.
Whatever color you pick, the Online segments still float on different baselines — only the stack order (ORDER in the code) changes that.
Labels settle any comparison — at the price of turning the chart into a table of 24 numbers.
Keep the same colors as on the Stacked tab, so the two layouts compare like for like.
Try green here and red for Store — the pair the Stacked tab suggests — then see Lecture 4 (Color Blindness) for who can't tell them apart.
Two full sets of labels next to each other — check when this gets too busy to read.
One series, one color — the hue carries no data here, so any readable color works.
Past ~4 the stroke swallows the dots — the measured points disappear into the line.
Dots mark the actual data points — without them you can't tell where real data ends and interpolation begins.
A line encodes change by slope, not length — zooming the axis in is legitimate here.
Color only tells the two areas apart; the height of the fill carries the value.
Pick a color close to the revenue one and overlay at full opacity — the two areas merge into one shape.
At full opacity overlaid areas look stacked — transparency is what tells the reader both start at zero.
The line marks the exact top of the data — without it a faint fill has no clear edge.
Draws marketing spend over revenue — both filled from zero, overlaid, not stacked.
Even four quarters are hard to rank when two are close; fifteen products are impossible.
The same shares as sorted lengths from zero — the encoding people read most accurately.
Off by default — the angles are all a pie really encodes. Turn it on to check your answer.
A donut reads about the same as a pie; the hole only frees room for a label like the total (pie view only).
A thin white gap separates neighboring wedges; with 15 slices a wide one starts eating the small ones (pie view only).
One group, one color — color would earn its place only if it encoded a third variable.
A fitted line always exists mathematically — that alone doesn't mean the relationship is strong.
Labels tell you which dot is which month — fine at 12 points, clutter at 1,200.
Adds one implausible thirteenth month — huge volume, tiny revenue — and refits the line.