Show the Spread
You'll stop plotting averages alone and show the whole distribution, the outliers and the uncertainty, so your chart says how sure it is.
About
A bar of the average hides everything interesting: the two values that made the mean, the tail that's dragging it, and the fact that the difference might be noise. This badge is one dataset with groups, drawn four more ways that each show more than a mean: every point as a strip, a box plot, a histogram per group, and the mean as a dot with an interval that says how sure you are. You'll say in words what each one shows that the bar hid. It's the same data drawn five ways with a sentence under each, and an error bar with no note saying what it measures doesn't count as one of the five.
At a glance
- Per requirement
- 25 XP
- Completion bonus
- 150 XP
- Requirements
- 6
- Takes
- A weekend
- Skill level
- Intermediate (months of practice)
- Cost
- Free
- Supplies
- Nothing special
- Where
- At home
- Other people
- On your own
Requirements
-
1
Start with a bar chart of the mean per group and write what it claims. Pick data with at least four groups and 20 or more values in each: house prices by district, race times by age group, daily temperatures by month, or your own sleep by weekday. Write one sentence saying what a reader would conclude from the bars. Take a screenshot with the sentence. Photo
-
2
Draw every point as a strip or beeswarm plot, one dot per value, grouped the same way. RAWGraphs, Vega-Lite, ggplot2, matplotlib and Datawrapper's dot plots all do it, and in a spreadsheet a scatter with a jitter helper column works. Now you can see the outlier that made the mean and the group that's really two clumps. Add the mean as a short line across each strip. Take a screenshot. Photo
-
3
Draw box plots and explain the five numbers in a note on the chart. The box is the middle half of the data, the line inside is the median, the whiskers reach to the last value within 1.5 box-lengths of either edge, and dots beyond them are outliers. Write that on the chart, because most readers don't know it. Say in a sentence where the median and the mean disagree and why. Take a screenshot. Photo
-
4
Draw a histogram for each group as a column of small panels with a shared axis. Same buckets and same horizontal axis on every panel so the shapes can be compared. This is where you find the group that's skewed or has two humps, which no single number can show. Take a screenshot. Photo
-
5
Draw the mean per group as a dot with an interval, and state on the chart what the interval is. Use a dot rather than a bar, because readers take the values inside a bar as more likely than the ones just above it, and they aren't. Standard deviation says how spread out the values are; a 95 percent confidence interval says how sure you are about the mean. They're very different widths, and a chart that doesn't say which one it shows is misleading. Use the one that fits the question and label it. If two groups you thought differed have overlapping intervals, say so. Take a screenshot with the label. Photo
-
6
Put all five beside each other and write one sentence on what each shows that the bars hid. Make one image with the five charts and the five sentences. Finish with a line on which one you'd publish if you could only use one, and why. Take a screenshot of the set. Photo