Reading Charts Without Being Fooled by kirupa (https://www.kirupa.com/me/index.htm) | filed under Data & Decisions (https://www.kirupa.com/data_and_decisions/index.htm) TL;DR: A chart can use only true numbers and still mislead. When a bar chart's y-axis starts at 80% instead of zero, a rise from 81% to 84% looks four times bigger, and that's called a truncated axis. Cherry-picked date ranges, two y-axes, and running totals can mislead the same way, so read the axes before the shapes. - Bars should start at zero, because we read their length. Starting at 80% gave Biscuit's 3-point rise a lie factor of 81. Line charts can zoom in when the labels make the zoom obvious. - The window decides the story. Weeks 3 to 4 show the resolution rate up 3 points, while the whole month shows it down 4 points from Biscuit's first week. - With two y-axes, whoever picks the ranges decides where the lines cross. Use one shared axis for the same units, or two small charts for different ones, and pair any running total with the weekly number. - Agents and charting libraries draw what we ask for. Chart.js starts a bar chart's axis at zero by default, and our agent overrode that when we asked it to make the wins easy to see. Biscuit, the help desk bot on Crumb & Co.'s website, just wrapped up its first month. The one-page report about that month ends on a happy headline (Resolution rate is way up this week!) and a little bar chart where this week's bar towers over last week's. The owner read it on her phone between batches of sourdough and decided that Biscuit was basically done. Every number on that chart is true, and yet the picture it paints is way off. In this article, we'll look at how a chart can fool us without a single wrong number (even when our own agent drew it), and we'll redraw Biscuit's chart so it tells the truth. Onwards! Every Number Is True, So What's Wrong? Our report's headline is about one number: out of all of the chats Biscuit handles in a week, the share that Biscuit wrapped up on its own. A chat only counts if Biscuit answered it, the customer didn't ask for a person, and they didn't call or message the bakery about the same thing within two days. (It's the same rule behind Biscuit's north star (https://www.kirupa.com/product_thinking/north_star_metrics.htm).) We call this share our resolution rate, and it went from 81% last week to 84% this week. Here is the chart our report used to show that: [Image: A bar chart of Biscuit's resolution rate. Last week's bar says 81% and this week's bar says 84%. The y-axis runs from 80% to 85%, so this week's bar is 4 times as tall as last week's.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_report_chart.png) This week's bar is four times as tall as last week's, and that's pretty much how the bakery read it: [Image: The report's chart again, with this week's 84% bar 4 times as tall as last week's 81% bar. Above it, a tilted yellow sticker says 4x better! with a party popper on its corner. Three handwritten notes point at the sticker: Wow! with a star-struck face, Biscuit is done! with a partying face, and Hold on... with a face wearing a monocle.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_party.png) Before we throw Biscuit a party, let's check the math. Is 84 four times as big as 81? Nope. It's 3 more. The four comes from where our chart's y-axis starts. Here are the same two numbers drawn with our report's axis and with an axis that starts at zero: [Image: Two bar charts of the same two numbers: 81% last week and 84% this week. On the left, the y-axis starts at 80%, and this week's bar is 4 times as tall as last week's. On the right, the y-axis starts at 0%, and the two bars are nearly the same height.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_two_stories.png) On the right, the two bars are nearly the same height, because 81 and 84 are nearly the same number. On the left, our chart starts counting at 80%, so the first 80 points of each bar never get drawn. Here is what got cut off: [Image: The same two bars drawn from 0%: 81% and 84%. A dashed line at 80% marks where the report's chart starts. Everything below it, 80 points of each bar, is faded and labeled cut off. Only the small purple tips above the line, 1 point and 4 points tall, made it into the report's chart, and a note points at this week's tip: Only this part!] (https://www.kirupa.com/data_and_decisions/images/reading_charts_cut_off.png) Both bars lost the same 80 points, and all that's left for our eyes to compare is a sliver 1 point tall and a sliver 4 points tall. When a chart's axis starts above zero and slices off the shared bottom of every bar like this, we call it a truncated axis. How Much Is the Chart Exaggerating? This trick is older than any of us. Darrell Huff's 1954 book How to Lie with Statistics (https://en.wikipedia.org/wiki/How_to_Lie_with_Statistics) has a whole chapter on it called "The Gee-Whiz Graph." In 1983, Edward Tufte gave us a way to measure it in The Visual Display of Quantitative Information (https://www.edwardtufte.com/book/the-visual-display-of-quantitative-information/). He compares how much something changes in the picture with how much it changes in the data, and he calls the ratio between the two the lie factor. Here is the lie factor for our report's chart: [Image: Three columns. In the report's chart, the visible part of the bars grows from 1 to 4, a change of 300%. In the data, the resolution rate grows from 81% to 84%, a change of 3.7%. Dividing 300% by 3.7% gives a lie factor of 81, where an honest chart's lie factor is 1.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_lie_factor.png) The part of our bars we can see grew by 300%, while our resolution rate grew by 3.7%. That gives our chart a lie factor of 81. An honest chart has a lie factor of about 1, and Tufte called anything above 1.05 (or below 0.95) a substantial distortion. Our 81 isn't a coincidence, by the way. Last week's bar showed just 1 of its 81 points, and that's exactly where the 81 comes from. We can watch the lie factor change by sliding the bottom of the axis ourselves: Interactive example: An axis start explorer (https://www.kirupa.com/data_and_decisions/examples/axis_start_explorer.htm?v=9f673d03cc0f) Try it: 1. Drag Y-axis starts at to 0% 2. Slide it back up and watch the Lie factor 3. Pick All 4 under Window At a zero start, the bars look almost the same and the lie factor is 1.0. It's still only about 2 at a 40% start, and then it shoots up to 81 over the last few points as last week's sliver shrinks toward nothing. It's worth watching the wording, too. Going from 81% to 84% is a rise of 3 percentage points and also a 3.7% increase, so a good report will say which one it means. Do Charts Always Have to Start at Zero? None of this means every chart has to start at zero. With bars, we compare lengths, so a bar that doesn't start at zero has a length that means nothing. With a line, we compare positions, so zooming in can be fine. Here are our same two weeks drawn both ways: [Image: The same two weeks drawn two ways. On the left, bars from 0%: 81% and 84% are nearly the same height. On the right, a line chart whose y-axis is labeled from 75% to 90% shows the resolution rate rising from 81% last week to 84% this week.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_bars_vs_line.png) The line chart zooms in on 75% to 90%, and its labels say so. That zoom is fair, because Biscuit handled 820 chats this week, so 3 points is about 25 more customers a week who didn't have to call our bakery. The rule we'll follow is that bars always start at zero, and lines can zoom in when the zoom is the point and the labels make it obvious. Which Weeks Are We Looking At? Our report compares this week with last week, which means the calendar picks the two numbers we get to see. Biscuit has been live for four full weeks, so we're going to look at every one of them: [Image: A line chart of Biscuit's resolution rate for each of its first four weeks: 88%, 86%, 81%, and 84%. A yellow band covers weeks 3 and 4, the two weeks the report compares, labeled the report's window.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_month.png) Biscuit resolved 88% of its chats in its first week, then 86%, then 81%, and now 84%. Our report's window caught the one week where the number went up, while the whole month is actually down 4 points. If we pick our window on purpose, we'll be able to tell whichever story we like: [Image: The same four weeks of resolution rates, 88%, 86%, 81%, 84%, drawn twice. On the left, only weeks 3 and 4 are highlighted, and a handwritten note says Up 3 points! On the right, only weeks 1 to 3 are highlighted, and the note says Down 7 points!] (https://www.kirupa.com/data_and_decisions/images/reading_charts_two_windows.png) (https://www.kirupa.com/data_and_decisions/images/reading_charts_two_windows.png) Choosing where a chart starts and stops so that it tells the story we want is called cherry-picking. It isn't always on purpose, either. A default like "this week vs. last week" can do the picking for us without anybody noticing. The honest move is to show everything we have (or say why we didn't) and see what the bigger window brings up. Ours brings up a really good question: why was Biscuit better in its very first week? Two Axes, Any Story We Want The owner has a theory: now that Biscuit answers questions online, fewer people are calling the bakery. To check it, we'll plot Biscuit's chats and the bakery's phone calls week by week. A popular way to show two lines like these is to give each one its own y-axis, one on the left and one on the right. That's called a dual-axis chart, and here is our data drawn as one: [Image: A line chart with two y-axes. Biscuit's weekly chats (600, 760, 770, 820) use the left axis, which runs from 400 to 900. The bakery's weekly phone calls (322, 308, 301, 294) use the right axis, which runs from 290 to 335. Chats shoot up, calls dive, and the two lines cross in an X halfway between week 1 and week 2, where a handwritten note says: They cross!] (https://www.kirupa.com/data_and_decisions/images/reading_charts_dual_cross.png) (https://www.kirupa.com/data_and_decisions/images/reading_charts_dual_cross.png) Our chats shoot up, our calls dive, and the two lines cross in a big X. It sure looks like Biscuit is taking over the phones. Here is the very same data with different ranges on our two axes: [Image: The same weekly chats and phone calls with different ranges on the two y-axes. The left axis for chats now runs from 0 to 3,000, and the right axis for calls runs from 0 to 400. Both lines are nearly flat, the calls line sits high above the chats line, and they never cross.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_dual_flat.png) (https://www.kirupa.com/data_and_decisions/images/reading_charts_dual_flat.png) Now nothing seems to be happening at all, even though not a single number changed. Whoever picks the two ranges decides how steep each line looks and where (or whether) the lines cross. Stephen Few, who wrote the book Show Me the Numbers, took a hard look at these charts in a 2008 article (https://www.perceptualedge.com/articles/visual_business_intelligence/dual-scaled_axes.pdf) and said he couldn't think of a single case where there wasn't a better option. Our chats and calls are both conversations with the bakery, so our better option is one shared axis: [Image: Biscuit's weekly chats and the bakery's weekly phone calls on one shared y-axis of conversations per week, from 0 to 900. Chats grow from 600 to 820. Phone calls slip from 322 to 294.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_one_axis.png) Chats grew from 600 to 820 a week, while calls slipped from 322 to 294. Whether Biscuit caused that small dip is a question for our lesson on correlation vs. causation (https://www.kirupa.com/data_and_decisions/correlation_vs_causation.htm). When two lines have different units, like chats and our resolution rate, we can stack two small charts on top of each other with the same weeks along the bottom: [Image: Two small charts stacked on top of each other, sharing weeks 1 to 4 along the bottom. On top, Biscuit's chats per week on an axis from 0 to 900: 600, 760, 770, 820. Below it, Biscuit's resolution rate on its own axis from 75% to 90%: 88%, 86%, 81%, 84%.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_stacked.png) Each chart gets its own honest axis, and lining them up by week still shows us that our resolution rate slipped while our chats grew. Why Do Running Totals Only Go Up? On September 10, 2013, at the event where Apple introduced the iPhone 5s, Tim Cook showed a chart that added each quarter's iPhone sales to all of the sales before it. The line swooped up and to the right, even though, as Quartz's David Yanofsky pointed out, Apple's quarterly iPhone sales had been declining (https://qz.com/122921/the-chart-tim-cook-doesnt-want-you-to-see) over the previous three quarters. A chart that keeps adding everything up since the start is called a running total (aka a cumulative chart), and it can only go up or stay flat. We'll find one of those at our bakery too: [Image: Two charts of the chats Biscuit resolved. On the left, a running total since launch climbs every week: 528, 1,182, 1,806, 2,495. On the right, bars show the chats resolved each week: 528, 654, 624, 689. Week 3's bar is lower than week 2's, and a handwritten note points at it: 30 fewer!] (https://www.kirupa.com/data_and_decisions/images/reading_charts_running_total.png) (https://www.kirupa.com/data_and_decisions/images/reading_charts_running_total.png) Our running total of resolved chats climbed every single week, including week 3, when Biscuit resolved 624 chats, which is 30 fewer than the week before. Our retention curves (https://www.kirupa.com/product_thinking/retention_curves.htm) article hits the same trap with a signup total that climbs even as people leave. Whenever a chart says "total" or "since launch," we'll want the same number per week right next to it. Our Agent Draws What We Ask For So, how did an axis starting at 80% end up in our report? Nobody set out to fool the owner. Wren asked an AI agent to write the report, with one small wish at the end: [Image: Wren asks an AI agent: Write Biscuit's first-month report for the owner. One page, and make the wins easy to see. The agent answers: Done! For the resolution rate chart, I started the y-axis at 80% so this week's jump really stands out: Under its reply, a card shows the line it added to report_chart.js: y: { min: 80 }. A handwritten note points at that line: There's our 80%!] (https://www.kirupa.com/data_and_decisions/images/reading_charts_agent.png) (https://www.kirupa.com/data_and_decisions/images/reading_charts_agent.png) The agent did exactly what Wren asked. Our report draws its charts with Chart.js, a popular JavaScript charting library, and a Chart.js bar chart's axis starts at zero by default (https://github.com/chartjs/Chart.js/blob/master/src/controllers/controller.bar.ts) (a line chart's axis fits itself to the data instead). Our agent overrode that default because we asked it to make the wins easy to see. Wren now keeps a few chart rules in the instructions our agent reads before every task: ## Charts - Bar charts start at zero. - Show every week we have, not just the last two. - One y-axis per chart. Use two small charts for different units. - Label the units and the date range. - Show the weekly number next to any running total. Now our next report's chart is going to start at zero without anybody having to ask. Read the Axes Before the Shapes Whenever a chart lands in front of us, our eyes go straight to the shapes. Before we react to how tall or steep anything looks, we'll make our eyes wait while we run through a few questions: - Where does the y-axis start? If it's a bar chart and the answer isn't zero, the bars are exaggerating. - What window does the chart show, and what happened right before it starts? - How many y-axes are there? If there are two, where the lines cross is a choice somebody made. - Is it a running total? If so, ask for the same number per week. - What are the units? Percent or percentage points, per day or per week? Here is our report's chart, redrawn with all of that in mind: [Image: Bars for each of Biscuit's first four weeks on a y-axis that starts at 0%: 88%, 86%, 81%, and 84%, with this week's bar darker. Beside the chart: up 3 points from last week, and down 4 points from week 1.] (https://www.kirupa.com/data_and_decisions/images/reading_charts_honest.png) The bars start at zero, all four weeks are there, and the labels say what changed in points. This chart won't get anybody a party, but it tells the owner two true things: Biscuit had a good week, and it still hasn't gotten back to where it started. Try It This Week Grab one chart from a recent update, dashboard, or slide deck (bonus points if an agent drew it), and let's redraw it honestly: 1. Read its axes before its shapes: where the y-axis starts, how many y-axes there are, and what window it shows. 2. Widen the window to everything you have, and write down anything the bigger picture changes. 3. Fix what you find: start bars at zero, swap two y-axes for one shared axis or two small charts, and put the weekly number next to any running total. 4. Put the old and new versions side by side, and ask a teammate what story each one tells. Frequently Asked Questions What Is a Truncated Axis? A truncated axis starts somewhere above zero, so it slices off the shared bottom of every bar. When Biscuit’s report started its y-axis at 80%, a rise from 81% to 84% made this week’s bar look four times as tall as last week’s. Every number was true, but our eyes were comparing the 1-point and 4-point slivers left above the cut. Does a Y-Axis Always Have to Start at Zero? Bar charts should start at zero, because we read a bar’s length, and a bar that doesn’t start at zero has a length that means nothing. Line charts can zoom in, because we compare positions instead. That zoom is fair when the small change really matters and the axis labels make the zoom obvious. What Is Tufte’s Lie Factor? Edward Tufte’s lie factor, from The Visual Display of Quantitative Information (1983), divides how much something changes in a chart by how much it changes in the data. An honest chart scores about 1, and Tufte called anything above 1.05 or below 0.95 a substantial distortion. Biscuit’s 80% chart showed a 300% jump for a 3.7% change, a lie factor of 81. How Do You Spot a Misleading Chart? Read the axes before the shapes. Check where the y-axis starts, which window of time the chart shows, whether it has two y-axes, whether it’s a running total, and what the units are. Each of those choices can change the story a chart tells without changing a single number. Conclusion Ok! It's time to wrap things up, and this time we're wrapping up a whole course. Charts feel objective because they're made of real numbers, but every chart is also a stack of choices: where the axis starts, which weeks show up, how many axes there are, and whether we're looking at a running total. Our report's chart made each of those choices in Biscuit's favor, and our redraw made them honestly. That's also the last piece of Number Sense. We started this course with Biscuit's first-month report, and we've now taken apart every headline in it. We found an average reply time (https://www.kirupa.com/data_and_decisions/averages_lie.htm) that no reply actually took and napkin math (https://www.kirupa.com/data_and_decisions/back_of_the_envelope.htm) showing that the whole-menu idea would take our bill from about $70 a month to about $790. We also found a 41% spending gap (https://www.kirupa.com/data_and_decisions/correlation_vs_causation.htm) that was really about regulars, and a chart that turned 3 points into a fourfold jump. None of them needed a stats degree. They needed us to take a minute and ask what a number (or a picture) is really saying. If you want to look back at the whole map, the introduction to Data & Decisions (https://www.kirupa.com/data_and_decisions/introduction_to_data_and_decisions.htm) has it. As for the owner, her to-do list no longer says Biscuit is done. It says to keep an eye on the resolution rate for a few more weeks...which is exactly the right call. Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, Sample Size and Significance (https://www.kirupa.com/data_and_decisions/sample_size_and_significance.htm), or check out some related content: - North Star and Input Metrics (https://www.kirupa.com/product_thinking/north_star_metrics.htm). Picking one number that only moves when customers win, and writing down what counts. - Retention Curves and Cohorts (https://www.kirupa.com/product_thinking/retention_curves.htm). Why a total that only goes up hides the people who leave. - Visual Hierarchy (https://www.kirupa.com/human_behavior/visual_hierarchy.htm). How size, contrast, and order decide what people notice first on a screen. 3. Stuck on something, or curious about a detail we skipped? Ask on the forums (https://forum.kirupa.com/), and we’ll help you out. [Mastery Quiz] Test your knowledge! Take the Reading Charts Without Being Fooled Quiz: https://www.kirupa.com/quizzes/reading_charts.htm Practice with 6 multiple-choice questions and an explanation after every answer. [/Mastery Quiz]