Do chocolate candies win more matchups than the rest?
Lesson 11.1 · Pick the Right Chart
Felix · Rosa
Felix’s line chart of candy. Rosa: “Lines are for time. Try bars.”
Felix finds a dataset where thousands of people picked their favorite of two candies, over and over, and every candy got a win rate.
He wants to know if chocolate wins. He makes a line chart. It looks like a seismograph. Rosa suggests a different shape.
The short answer
Yes, by a lot. Chocolate candies average around 60 percent win rate and the rest average around 40. The bar chart shows it in one glance. Felix’s line chart showed a heartbeat.
Try it yourself
Pick the chart that answers the question, and see what each one looks like on the real candy data.
Do chocolate candies win more matchups than non-chocolate ones?
What you just did has a name
Chart type
Every chart type answers one kind of question.
Bar charts compare categories. Line charts show how one thing changes over time. Scatterplots show how two numbers relate.
Histograms show the shape of one number. The question decides the chart.
A few more things
Bars for groups
Chocolate vs. not. Views by game. Profit by brand. Any time the bottom axis is a set of names, you want bars, and the bars should start at zero.
Lines for time
Subscribers by month. Temperature by hour. A line connects points because the order means something. Connect candies in a line and the line is lying about an order that doesn’t exist.
Scatter for two numbers
Sugar vs. win rate. Height vs. rebounds. When both axes are numbers and you want to see whether they move together, it’s a scatterplot, and Module 10 already taught you to read one.
Go deeper
The longer version, if you want it.
The one chart to avoid
Pie charts compare parts of a whole, and people are bad at comparing angles. Three slices of 30, 33 and 37 percent look identical; the same numbers as bars are instantly ordered. Pie charts also can’t show change over time or relationships at all. Most data people use them rarely, and only for two or three slices.
Stacked and 3D versions of any chart make comparison harder still: the reader has to subtract, or guess at perspective. If a chart needs a paragraph of instructions, it’s the wrong chart.
Quick check
Felix has the price and the review score of 50 pairs of headphones and wants to know if pricier ones score higher. Which chart?
Let’s take it slower
Here’s a quick test. Look at what’s written along the bottom of the chart. Names of things? Bars, because you’re comparing groups. Dates or times? A line, because the order matters and you want to see the movement. Numbers, with more numbers up the side? A scatterplot, because you’re asking whether the two move together. Just one number and you want to see how it’s spread out? A histogram. Say the question out loud first, then match it. A chart picked for looks answers a question nobody asked.
More examples
Sneaker resale prices
A site showing one sneaker’s resale price over the last year draws a line, because you want to see when it spiked. The page comparing five sneakers’ prices right now uses bars. Draw those five as a line and the slope between two unrelated shoes means nothing.
The quiz score spread
A teacher wants to see how a class did on a quiz. Not the average, the shape: one big cluster or two camps? That’s one number per kid, so a histogram, and a two-humped shape tells her half the class missed one topic.
Back to the question
So do chocolate candies win more?
Show the answer
Yes, by a lot. Chocolate candies average around 60 percent win rate and the rest average around 40. The bar chart shows it in one glance. Felix’s line chart showed a heartbeat.
One last question
Ashley wants to show subscriber growth over the year. Which chart?
Talk Card
Talk Card · 11.1
Bars compare groups, lines show change over time, and scatterplots show how two numbers relate. The question picks the chart.
Data to AI · pettigrewlab.com/learn

