Exploring data with charts: how to find the story before you present anything

TL;DR

Difficulty: Intermediate

The chart you present is the end of a search, not the search.

  • Explore fast and ugly: overview first, then every variable alone, then the outcome against each variable, then linked views and drill downs.
  • Before each chart, write what you expect. Predict, then plot: it makes surprises visible and records how many paths you walked.
  • Exploration fools you easily (23 looks give a 69% chance of at least one false pattern), so keep a log, confirm on held back data and line the chart up against shuffled decoys.
  • Then throw almost everything away. In the example, 43 charts became two, and they answered the founder's question.

Every good chart in a meeting had a hidden history: dozens of rough charts nobody saw. This chapter is about that search. We follow an analyst at an invented coffee roaster as he explores subscription data in quick charts, finds the real reason subscribers leave, guards against fooling himself, and keeps just two charts.

The chart you present is not the chart that found the story

Every useful chart you have seen in a meeting had a hidden history: dozens of rough, throwaway charts that nobody else saw. Most showed nothing. One or two showed the thing that mattered. The polished chart on the slide is the last step of a search, not the search itself.

This chapter is about that search. The earlier chapters of this series showed how to draw each kind of chart well: amounts and proportions, distributions, relationships, time and places. This chapter uses the same charts for a different job: not to tell people what you know, but to find out what is true in the first place.

Statisticians call this exploratory data analysis. John Tukey gave it its name and its method in a book of that title in 19771. The idea is simple and still underused in business: before you test, model or present anything, you look at the data, quickly and from many angles, and let it surprise you.

Throughout this chapter I follow one invented business, the example for the whole series. Ridgeway Coffee is a speciality coffee roaster in Oxford (ridgewaycoffee.example). It turns over £2.4 million a year: subscriptions 45%, one off online orders 25%, wholesale to cafés 30%, at a gross margin of 48%. It has 3,600 active subscribers on two plans. "Usual" sends the same coffee every time, "Explorer" a different coffee each time. Average monthly churn (the share of subscribers who cancel in a month) is 4.2%: 2.6% on Usual, 7.8% on Explorer. The founder, Maya, has one standing question: "Should we push Explorer harder, or is it costing us customers?" The analyst, Joe, is about to explore the subscription data to answer it.

Two kinds of chart, two different jobs

There are two reasons to draw a chart. Antony Unwin, in the Handbook of Data Visualization, separates them cleanly: presentation graphics and exploratory graphics2. A presentation chart is made for an audience. It is drawn once, with care, because people will read it and may keep it for years. An exploratory chart is made for yourself. You draw many of them, change them at will, throw most away, and no single one matters much. Each has a short life.

Cole Nussbaumer Knaflic draws the same line in Storytelling with Data and calls the two modes exploratory and explanatory analysis3. Her image is of searching through many oysters to find a couple of pearls. Exploration is the opening of oysters. Explanation is showing the pearls. Her warning is that analysts too often show their audience the oysters, every chart they made, as proof of effort. The audience then has to do the searching all over again.

Claus Wilke makes the practical consequence explicit in Fundamentals of Data Visualization4. In exploration, speed is everything. Missing axis labels, a messy legend, symbols that are too small: none of it matters, as long as you can see the pattern. What matters is how fast you can switch from a scatter plot to a histogram to a box plot, try a different subset, try a log scale. The faster you can iterate, the more you will look at, and the more likely you are to notice the thing you would otherwise have missed. Presentation is the opposite: slow, careful, made for someone else.

The difference reaches into design. A presentation chart is designed to steer the eye to one point (the subject of how people read charts). An exploratory chart must not steer your eye anywhere, because you do not yet know where the point is. Knaflic makes exactly this point about highlighting: emphasis on one thing makes the other things harder to see, so in exploration you should mostly leave it out5.

Example: Joe's two folders

Joe sets up his work in two folders before he opens a single file.

  • explore/ is where every quick chart goes. Default colours, no titles worth reading, file names like 017_churn_by_region.png. Nothing in this folder will ever be shown to Maya as it is.
  • present/ stays empty until he knows what he wants to say. Charts only enter it after they have passed the tests later in this chapter.

He also sets his tool to plain defaults: grey bars, no highlight colours, every category the same weight. That is deliberate. If he coloured the Explorer bars pink from the start, he would be telling his own eye where to look before the data had told him anything.

Predict before you plot

Here is the single habit that changes exploration most, and it is not in the classic books in this form. Before you draw each exploratory chart, write down one line: what you expect to see. Then draw the chart and compare.

It sounds small. It does three big things.

First, it makes surprise visible. Tukey wrote that the main value of a picture is that it forces us to notice what we never expected to see1. But you can only notice the unexpected if you know what you expected. Without a written prediction, your mind quietly rewrites the expectation after the fact. Every result then looks obvious, "I knew Explorer churned more", and nothing ever surprises you.

Second, it filters out what Tukey called "security blankets"1: charts that only show what you already knew. A chart that matches your prediction exactly has told you little. Log it, keep it short, move on.

Third, it gives you an honest record of how many questions you asked. That record is your main defence against being fooled by your own exploration, which comes up in the second half of this chapter.

I call this predict, then plot. The prediction does not have to be clever, and it does not have to be right. Wrong predictions are the most valuable ones you will write.

Example: Joe's first three predictions

Joe writes these lines before drawing anything.

No.QuestionPrediction
1How has monthly churn moved over two years?Flat around 4%, a bump in January when gift subscriptions run out
2When in a subscriber's life do people cancel?Evenly spread over the first year
3Does churn differ by plan?Explorer much higher, as Maya fears

The first and third turn out broadly right. The second is wrong, and that wrong prediction leads to the real story.

The exploration loop

Exploration is not a straight line from data to answer. It is a loop. Hadley Wickham and his co authors describe it in R for Data Science as an iterative cycle: generate questions about your data, search for answers by visualising, transforming and modelling it, then use what you learn to refine your questions or generate new ones6. They add that it is a state of mind more than a procedure, and that the way to ask good questions is to ask many of them.

Ben Shneiderman gave the loop its order of work in 1996, in what he called the visual information seeking mantra: overview first, zoom and filter, then details on demand7. Start with the whole picture so you know the shape of what you are looking at. Then narrow in on the part that looks interesting, and filter away the rest. Only then look at individual records. The order matters because details without an overview are noise. A single angry cancellation email feels important until you see that it is one of 1,400.

Put together with the prediction habit, one turn of the loop looks like this.

Tap or click to enlarge

Two things in that loop are easy to skip and should not be. The log step on the "no" branches: a question that found nothing is still a question you asked, and it counts. Tukey made the same point in his preface, that looking one layer deeper and finding nothing is a real step forward1. And the confirmation step at the end: a pattern found in the data you explored is a hypothesis, not yet a finding.

Example: the overview comes first

Joe pulls 24 months of subscription records, March 2023 to February 2025. Following Shneiderman, his first chart is the overview: monthly churn for the whole business, one line, no splits.

Line chart of monthly churn over 24 months for the example business. Churn sits between 3.9% and 4.1% most months and averages 4.2% over the period. It jumps in January and February of both years: 5.3% and 5.1% in early 2024, 5.4% and 5.0% in early 2025. Tap or click to enlarge

His prediction was "flat around 4%, a bump in January". That is what he sees: flat, then a clear jump every January and February. He logs it as expected. But he also notes a second question, because the bump is larger than gift subscriptions running out would explain on their own: December sign ups are 2.6 times the monthly average, and many gift buyers pay for three months, so their cancellations should land in March, not January. Something else is happening to December's new subscribers. He does not chase it yet. Overview first.

Look at every variable on its own

Before you compare anything with anything, look at each variable alone. Wickham calls this looking at variation: how the values of one variable spread out6. Unwin's advice in the Handbook is the same in spirit: the type of variable sets the chart, histograms or box plots for numbers, bar charts for categories, and the choice of scale and bins deserves care2.

Why bother, when the interesting questions are about relationships? Because almost every surprise first shows up in a single variable: a value that cannot be true, a lump where you expected a smooth curve, two peaks where you expected one. Skip straight to comparisons and these problems sit inside every comparison, unseen.

The detail that matters most here is bin width. A histogram groups values into bins, and the width of the bins changes what you see. Too wide and every feature is smoothed away. Too narrow and you see only noise. Wilke's rule is short: "always explore multiple bin widths"8. Unwin shows the same thing in the Handbook, where narrower bins reveal a second peak that the default setting hid2. The reason is that no single bin width is right for every question. The default your software chooses is a guess made by someone who has never seen your data.

Example: when do subscribers cancel?

Joe's second prediction was that cancellations spread evenly over the first year. He draws a histogram of tenure at cancellation (how long each cancelled subscriber stayed) with monthly bins.

It is not even at all. In this example 46% of all cancellations happen in the first three months. The prediction was wrong, and he logs that clearly.

Then he follows Wilke and redraws the same data with weekly bins. The first three months are no longer a smooth slope. There is a sharp spike in weeks two and three, a short time after the first box arrives, then a lower plateau. Monthly bins had averaged the spike away.

That spike is the first real clue. People are not drifting away slowly. A noticeable group decides very early, at about the moment they receive their first delivery. Joe writes the new question in his log: what happens with the first box?

He looks at the other variables one by one, each in a quick chart:

  • first delivery time in working days: median two days, a long thin tail to the right
  • plan: about 70% Usual, 30% Explorer (2,520 and 1,080 subscribers), yet Explorer accounts for about 56% of the 150 cancellations a month
  • sign up month: the December peak at 2.6 times the monthly average, July and August 30% below average
  • coffee on the first box: 18 coffees, with the house blend, the Colombian and the Ethiopian far ahead.

None of these surprises him on its own. But the long right tail of delivery times sits in his head next to the week two spike.

Look for what is missing, and what is impossible

Missing values are not just a nuisance to delete. Where data is missing, and why, is often a finding in itself. Wilhelm notes in the Handbook that linked exploration is especially useful precisely where data is complex and has many incomplete observations9. Wickham's chapter shows a quieter danger: missing values that are not marked as missing at all, but coded as zero, which you only find by looking at the distribution and noticing values that cannot be true6.

So the checks are: how much is missing in each variable? Is it missing at random, or does it cluster in one month, one channel, one supplier? And does the group with missing values behave differently on the outcome you care about? If it does, deleting those rows biases every answer you get afterwards.

Example: the missing delivery dates

Looking at the first delivery date, Joe finds that 6% of subscribers in his data have no first delivery date at all. Is that random? He draws a quick bar chart of the missing share by sign up month. It is not random: almost all of the gaps fall in the November and December cohorts, when the roastery used a second courier for the extra volume, whose tracking did not feed back into the shop system.

He then compares churn. Subscribers with a missing first delivery date churn at a noticeably higher rate in their first three months than the average. If he had simply dropped them, he would have removed exactly the group most likely to have had a slow first delivery. Instead, he recovers most of the dates from the courier's own invoice export, and marks the rest clearly as unknown rather than deleting them.

He also finds 12 accounts created and cancelled on the same day: checkout tests by staff. He removes them and writes the reason in the log.

Outliers: mistake, edge case or the story?

An outlier is a value far from the rest. In exploration it can be three different things, and the chart alone will not tell you which: a data error (a test account, a typo, a currency mix up), a genuine but unimportant edge case (one café ordering through the web shop), or the beginning of the story (the few subscribers whose first box took eight days).

The rule that follows is simple. Never delete an outlier because it is inconvenient. Delete it only when you can name the reason it is wrong, and write that reason down. Otherwise keep it, and look at it.

Francis Anscombe made the case for looking, rather than trusting summaries, in 197310. He built four small datasets with nearly the same means, variances, correlation and regression line. Plotted, they look completely different: one a clean straight line, one a curve, one a straight line pulled off course by a single outlier, one a vertical stack with a single point deciding everything. The summary statistics could not tell them apart. A chart could, at a glance.

Example: the slow first deliveries

On the histogram of first delivery times, most of Ridgeway's first boxes arrive in one to three working days, with a median of two. Then comes the tail: 12% take more than three working days, a few as long as eight.

Joe asks the three questions. Are they errors? He checks a sample against courier tracking: no, the dates are real. Are they unimportant edge cases? A share of 12% of all first deliveries is not an edge. Could they be the story? He writes a prediction, "slow first deliveries churn somewhat more, perhaps 5% instead of 4%", and moves on to comparisons.

Then look at pairs: every variable against the outcome

Once you know each variable on its own, compare them in pairs. Wickham calls this covariation: how two variables vary together6. In business exploration there is almost always one variable you care about most, the outcome, here churn. So the first pass is simple: plot the outcome against every other variable, one at a time.

When you have several numeric variables, a scatter plot matrix draws every pair at once in a grid. Unwin describes it in the Handbook as one of the standard displays for higher dimensions2, and it is one line of code in most tools, for example pairplot in the seaborn library for Python11. It is a superb overview. It is a poor presentation chart, because it gives the eye 20 or 30 small charts and no reason to look at any one of them.

For categories against a rate, quick bar charts are enough. The reason for starting this way, rather than with a model, is that a chart shows the shape of the relationship and not just its strength: a step, a curve, a threshold, an outlier pulling everything. A correlation coefficient hides all of those (see relationships, scatter plots and correlation for why).

Example: churn split by everything

Joe draws a quick bar chart of first three month churn for each variable he has: plan, first coffee, region, sign up channel, first order value band, sign up month, gift or not, and first delivery time. Each takes a minute. Most show little. Plan shows what everyone expected. Then he draws first delivery time, in whole working days.

Bar chart for the example business. Monthly churn in a subscriber's first three months is 2.9% when the first box arrives in one working day, 3.0% for two days and 3.6% for three days. It then jumps to 9.8% for four days, 11.8% for five days and 14.0% for six days or more. On time first deliveries (three days or less) average 3.1%, late ones 11.0%. Tap or click to enlarge

This is the chart that stops him. His prediction was 5% for slow deliveries. The real figure is far higher, and the shape is not a gentle slope. It is a step. Up to three working days, churn barely moves. From four days on, it roughly triples. Taken together, subscribers whose first delivery arrived within three working days churn at 3.1% a month in their first three months; those whose first delivery took longer churn at 11.0%.

A step is a stronger clue than a slope. It suggests a threshold in the customer's mind: a first box "this week" is fine, "next week" breaks the promise. It also ties together the earlier clues: the cancellation spike in weeks two and three, the long tail of delivery times, and perhaps the January jump, since the December rush is when the roastery is busiest.

Joe has a candidate story, not yet a finding.

Linked views: select in one chart, see it everywhere

One chart at a time has a limit. You see a group of interest in one chart, say the slow deliveries, and want to know how that same group looks in all the others. Redrawing every chart with a filter is slow, and slow kills exploration.

Linked views solve this. Graham Wills describes the paradigm in the Handbook: several simple views of the same data, linked so that selecting something in one view highlights the same records in all the others12. The selection tool is often called a brush, and the technique brushing, from the work of Richard Becker and William Cleveland on brushing scatter plots13. Selected records are drawn dark, everything else in light grey.

Why does this work so well? Adalbert Wilhelm gives the reasons in his Handbook chapter9. Each linked view stays simple and familiar, a bar chart, a histogram, so no reader has to learn a new chart type. The speed and flexibility let you ask "and what about this group?" dozens of times a minute. And selecting a category in one chart shows you its conditional distribution, how the selected group is spread, laid directly against the whole. That comparison, part against whole, is most of what exploration needs.

Wilhelm describes two ways to show the selection9. Overlaying draws the selected group on top of the original, on the same axes: easy to compare, but it can hide part of the original. Juxtaposition puts it in a separate chart alongside: nothing hidden, more space used. And when the selected group is small, its bars are tiny and hard to compare. A spine plot, where every bar has the same full height and shows a proportion, fixes that. When you brush a small group, switch to proportions.

Wills adds an honest caution12: what you discover interactively is harder to show to someone else than a single static chart. Linked views find the story. They rarely tell it.

Example: brushing the slow first deliveries

Joe puts four quick charts on one screen: a histogram of first delivery days, a histogram of tenure at cancellation in weeks, a bar chart of plan, and a bar chart of sign up month. Then he brushes the bars for four days and more in the delivery histogram.

In the tenure histogram, the highlighted records sit almost entirely in the spike in weeks two and three. In the sign up month chart, the highlighted share is clearly higher in December and November. In the plan chart the counts are hard to read, because the late group is small, so he switches that chart to proportions, as Wilhelm advises. Now it is plain: a much larger share of Explorer subscribers than Usual subscribers had a late first box.

That last view changes the question. Maybe Explorer churns more partly because Explorer's first boxes arrive late more often. Joe checks with the roastery and learns why (still the invented example): Explorer coffees are small lots, roasted to order on two roast days a week, so an Explorer order placed on the wrong day waits.

Tools that do this, named fairly

Some tools make fast, linked exploration much easier. All of these were available in early 2025.

  • Power BI: by default, visuals on a report page cross filter and cross highlight each other, so selecting a bar in one chart filters or highlights the others14.
  • Tableau: highlight actions make selecting marks in one sheet highlight related data in other sheets on a dashboard15.
  • R: ggplot2 for fast plots, and Shiny for interactive apps, where brushedPoints() returns the rows under a brush so other charts can react to it16.
  • Python: pandas for the data, seaborn for quick statistical plots such as pairplot11, and Plotly for interactive charts.
  • Looker Studio and Excel: both handle quick charts and filters well for smaller questions. Excel in particular is where many people explore, and that is fine as long as the habits in this chapter come with it.

Wilke's test for any tool is the right one4: does it let you move quickly between different views of the same data, or does it get in the way? If you dread changing a chart, you will change it less, and you will explore less. The tools chapter later in this series, on workflow from spreadsheet to code, goes deeper.

Drill down until the pattern survives or dies

A pattern in one split is only a candidate. The next step is to split it again, by the variables most likely to explain it away. This is the zoom and filter part of Shneiderman's mantra7, and it is where most attractive stories die.

The variable you most need to split by is the one that differs between your groups. If late deliveries are more common among Explorer subscribers, and Explorer subscribers churn more anyway, then the late delivery effect could simply be the Explorer effect in disguise. Or the Explorer effect could be the late delivery effect in disguise. A chart of each on its own cannot tell you which. A chart of both together can.

The maths of why is a weighted average. Any overall rate is a mix of the rates in its subgroups, weighted by their size:

cˉ=w⋅clate+(1−w)⋅con time\bar{c} = w \cdot c_{\text{late}} + (1 - w) \cdot c_{\text{on time}}

where cˉ\bar{c} is the overall churn rate of a group, ww is the share of that group whose first delivery was late, clatec_{\text{late}} is the churn rate of the late subscribers and con timec_{\text{on time}} the churn rate of the on time ones. Foundations: the mean

For all Ridgeway subscribers in their first three months: cˉ=0.12×11.0%+0.88×3.1%=1.32%+2.73%=4.05%\bar{c} = 0.12 \times 11.0\% + 0.88 \times 3.1\% = 1.32\% + 2.73\% = 4.05\%. Two groups with different shares of late deliveries will show different overall rates even if late deliveries hurt them in exactly the same way. So the comparison that matters is within each plan.

Example: plan and first delivery together

Joe splits first three month churn by plan and by first delivery at the same time. The figures below are derived for this example.

  • Late first delivery share: 5.5% for new Usual subscribers, 27% for new Explorer subscribers.
  • Usual: 2.5% a month when the first box was on time, 9.5% when it was late.
  • Explorer: 4.9% a month when the first box was on time, 11.7% when it was late.
Grouped bar chart for the example business. On time first delivery: Usual 2.5%, Explorer 4.9% monthly churn in the first three months. Late first delivery: Usual 9.5%, Explorer 11.7%. A late first box multiplies churn in both plans, and Explorer still churns more than Usual within each delivery group. Tap or click to enlarge

The pattern survives. Within each plan, a late first box multiplies early churn: nearly four times for Usual, about two and a half times for Explorer. So the delivery effect is not the plan effect in disguise.

But the plan effect does not vanish either. Even with an on time first box, Explorer churns at roughly twice the Usual rate. That is a genuine difference, and an unsurprising one: a plan built around variety attracts people who like to try things, and some of them will try it and leave.

Joe checks this against the weighted average. Late subscribers overall: 0.32×9.5%+0.68×11.7%≈11.0%0.32 \times 9.5\% + 0.68 \times 11.7\% \approx 11.0\%, because about two thirds of late first boxes go to Explorer subscribers in this example. On time subscribers overall: 0.75×2.5%+0.25×4.9%≈3.1%0.75 \times 2.5\% + 0.25 \times 4.9\% \approx 3.1\%. The derived split adds up to the known totals, which is the check that it is internally consistent.

He draws one more quick chart for the drill down, this time across time. Each point is a monthly sign up cohort: the share of its first deliveries that were late, against its churn in the first three months.

Scatter plot of 15 monthly sign up cohorts in the example business, March 2023 to May 2024. Horizontal axis: share of first deliveries that took more than three working days, from 7% to 22%. Vertical axis: average monthly churn in the cohort's first three months, from 3.6% to 4.9%. The points rise together in a near straight line. The December 2023 cohort sits alone at the top right with 22% late first deliveries and 4.9% early churn. Tap or click to enlarge

The cohorts line up. The December 2023 cohort sits alone at the top right: the gift rush overloaded dispatch, 22% of its first boxes were late, and its early churn was the highest of any month. That explains the January jump in the overview chart far better than gift subscriptions running out. The overview question from the very first chart has its answer.

Many variables at once: tours, briefly

Pairs of variables are not the end. A pattern can live in a combination of three or four variables that no pair shows. Dianne Cook, Andreas Buja, Eun Kyung Lee and Hadley Wickham describe one answer in the Handbook: the grand tour17. The idea is that a two dimensional chart of many variables is like a shadow of an object. One shadow can mislead. Rotate the object slowly through many angles, and from the moving shadows you get a sense of its real shape. They use the old fable of the blind men and the elephant: each touches one part and describes a different animal. A scatter plot matrix shows only the shadows cast straight along the axes, so structure that lies diagonally between variables can stay hidden.

For most business questions you will not need a tour. A handful of well chosen splits, as above, gets you there. Tours earn their place when you have many numeric measurements on the same things and no strong idea which matter.

Example: when Joe would reach for a tour

For the subscription question Joe does not need one: the outcome is clear and the variables are few. But if Maya later asks why some of the 140 wholesale cafés grow their orders and others shrink, Joe will have a dozen numbers per café (order frequency, average order, share of the house blend, months as a customer and so on). There, a scatter plot matrix first and a tour second could show groups of cafés that no single pair of variables separates.

How exploration fools you: the garden of forking paths

Now the uncomfortable part. Exploration is powerful because you can look at anything. That freedom is also how it misleads you.

Andrew Gelman and Eric Loken called the problem the garden of forking paths18. Their point is subtle. You do not have to consciously fish for a result, trying test after test until something works. It is enough that your choices about what to compare, which group to split, which outliers to drop and which months to include all depend on what you saw in the data. Had the data come out differently, you would have made different, equally reasonable choices. So the number of comparisons you effectively made is far larger than the one you report.

Charts make this worse, because looking feels like nothing. Emanuel Zgraggen and colleagues tested this directly in 2018: they gave people datasets with known ground truth to explore visually, and found that over 60% of the insights participants reported were false19. Patterns in pure noise look like patterns.

The arithmetic is plain. If each comparison has a 5% chance of showing a "pattern" by chance alone, and you make kk independent comparisons, the chance that at least one of them shows a false pattern is:

P(at least one false alarm)=1−(1−α)kP(\text{at least one false alarm}) = 1 - (1 - \alpha)^{k}

where α\alpha is the chance of a false alarm in one comparison (here 0.05) and kk is the number of comparisons you looked at. Foundations: probability

Example: how many paths did Joe walk?

Joe counts his log. Of his charts so far, 23 were splits of churn by some variable: plan, region, coffee, channel, order value band, gift or not, sign up month, delivery days, and further splits inside those. With α=0.05\alpha = 0.05 and k=23k = 23, the formula gives 1−0.9523=1−0.307=0.6931 - 0.95^{23} = 1 - 0.307 = 0.693.

So even if nothing at all was going on, there was about a 69% chance that at least one of his 23 splits would have shown something that looked like a pattern. The delivery step is not one of those faint "something", it is a tripling of churn. But the honest conclusion is still the same: a pattern found by exploring is a hypothesis until it is checked on data the exploration never touched.

Three defences: log it, hold some back, line it up

You do not have to stop exploring to avoid being fooled. You need three habits.

1. Keep an exploration log. One line per chart: number, date, question, prediction, what you saw, what you did next. It costs seconds per chart. It records how many paths you walked, so you can report it. It stops you rediscovering the same dead end next quarter. And it makes your work reproducible, which Wilke stresses whenever charts are made by hand in interactive tools: keep careful notes of how each figure was made4. Wilhelm warns of a related risk in linked views: with many slightly changed views, you can easily lose track of what you did9. The log is the track.

2. Hold some data back. Before you start, set aside part of the data and do not look at it. Explore the rest freely. When a pattern survives drilling down, check it once, on the held back part. If it is real, it will show up again. If it was a quirk of the data you explored, it usually will not. Zgraggen and colleagues discuss this validation approach, and also show that a confirmatory analysis that properly counts all the comparisons you made, including the ones that found nothing, can work about as well as a separate validation set19. Either way, the log is what makes it possible.

3. Line it up. Andreas Buja, Hadley Wickham and colleagues proposed a visual test called the lineup20 21. Hide your real chart among 19 decoy charts made from data where the effect cannot exist, for example by randomly shuffling the group labels. Show all 20 to someone who has not seen the real one. If they pick out the real chart, the chance of that happening by luck is 1 in 20, or 5%. It is a statistical test that needs no formula, only eyes, and it is a humbling way to find out whether the pattern you are excited about stands out from noise at all.

Example: Joe's three defences

The log. Here are a few lines from Joe's log, in the format he keeps for every chart.

No.QuestionPredictionWhat I sawNext step
001Monthly churn over 24 monthsFlat near 4%, January bumpAs expected, bump in Jan and FebAsk why the bump is in January
004Tenure at cancellation, monthly binsEven over the first year46% in the first three monthsRedraw with weekly bins
005Same, weekly binsSmooth declineSpike in weeks two and threeAsk what happens with the first box
019Churn by regionNo differenceNo clear differenceDead end, logged
027Churn by working days to first deliveryLate slightly higher, about 5%Step at four days, 3.1% against 11.0%Split by plan
031Plan and first delivery togetherPlan explains most of itBoth matter, delivery within each planCheck on held back cohorts

The hold out. Before exploring, Joe set aside six monthly sign up cohorts, June to November 2024, 864 subscribers in this example, and explored only the 15 cohorts from March 2023 to May 2024 (2,560 subscribers). Now he runs the one check on the held back cohorts: first three month churn is 10.6% a month after a late first box and 3.2% after an on time one (derived for this example). The step is there again.

The lineup. Joe shuffles the late or on time label randomly across subscribers 19 times, draws the same simple two bar chart for each shuffle, and mixes in the real one. He shows the 20 small charts to Maya without saying which is real. She points to the real one in seconds: it is the only chart where one bar is three times the other.

Now, and only now, Joe calls it a finding.

The exploration checklist

Here is the whole method as a checklist. It is the table I would pin next to any analyst's screen.

CheckWhat to look atWhy it matters
OverviewThe outcome over time, for the whole businessYou need the shape of the whole before any detail means anything
Each variable aloneHistograms and bar charts, more than one bin widthMost surprises first show up in a single variable
Missing valuesShare missing per variable, where it clusters, how that group behavesDeleting missing rows can delete exactly the group that matters
Impossible valuesZeros, negatives, dates out of range, test accountsErrors hide inside every later comparison
OutliersName the reason before removing anythingAn outlier can be an error, an edge case or the story
Outcome against each variableOne quick chart per variableShows shape: steps, curves and thresholds, not only strength
Linked viewsBrush a group, see it in all charts, switch to proportions for small groupsFinds where a pattern lives, fast
Drill downSplit again by whatever differs between your groupsMost attractive patterns die here, and should
LogOne line per chart, including dead endsCounts your paths and makes the work reproducible
Hold outConfirm once on data you never exploredSeparates findings from quirks
LineupReal chart among 19 shuffled decoysChecks the pattern stands out from noise

From exploratory to explanatory: throw most of it away

At the end of a good exploration you have dozens of charts and one or two findings. The temptation, as Knaflic says, is to show the lot as proof of the work3. Resist it. Your audience did not ask how hard you looked. They asked what is true and what to do.

Wilke's advice for the step into presentation fits here: assume your audience cannot quickly decode complex charts, and make each figure so clear that a very busy person sees the point at once. He calls it making a figure for the generals22. Every exploratory chart fails that test by design. It was made for you.

So how do you decide which charts survive? I use a three question survival test. A chart moves from explore/ to present/ only if the answer to all three is yes.

  1. Does it change the decision? If Maya would act the same way without it, it stays behind.
  2. Did it hold up? It survived the drill down and the check on held back data.
  3. Does the audience need it to believe the claim? Some findings need one chart, some need two: one to show the problem, one to show where it comes from.

Everything else stays in the log for anyone who asks how you got there. That is what lets you present two charts with confidence instead of 40 with anxiety.

Example: two charts out of 43

By the end, Joe's log has 43 entries. Two charts pass the survival test.

  • The step chart: churn in the first three months by working days to first delivery. It shows the problem and the threshold, and it changes the decision: it points at dispatch, not at the plan.
  • The grouped bar chart: plan and first delivery together. It answers Maya's actual question directly. Explorer is not simply "costing customers". A large part of its extra early churn comes from late first boxes, and the rest is the natural churn of a variety plan.

Everything else, 41 of 43 charts or about 95%, stays in the log. Those charts were how Joe found the story and convinced himself, not how he tells it.

Joe adds a rough size of the prize, labelled as an estimate, because Maya will ask "so what is it worth?". The chance of cancelling at least once in three months, given a constant monthly churn rate cc, is:

P(cancel within three months)=1−(1−c)3P(\text{cancel within three months}) = 1 - (1 - c)^{3}

where cc is the monthly churn rate in the first three months and the power 3 stands for three months in a row of not cancelling. Foundations: probability

For a late first box, c=0.110c = 0.110: 1−0.8903=1−0.705=0.2951 - 0.890^3 = 1 - 0.705 = 0.295, so 29.5%. For an on time first box, c=0.031c = 0.031: 1−0.9693=1−0.910=0.0901 - 0.969^3 = 1 - 0.910 = 0.090, so 9.0%. The difference is 20.5 percentage points.

Ridgeway signs up about 1,920 new subscribers a year in this example (160 in an average month, derived for this example). Of these, 12%, about 230, get a late first box. With the difference above, about 47 subscribers a year are lost who would have stayed with an on time first box. Revenue per subscriber is about £300 a year (£1.08 million of subscription revenue over 3,600 subscribers), and at 4.2% monthly churn a typical subscriber stays about 24 months. So each one is worth roughly £600 of revenue and about £290 of gross profit at 48%. Forty seven of them: about £28,000 of revenue and £13,500 of gross profit a year, before counting the gifts and referrals that happy subscribers bring. Foundations: customer lifetime value

That is not a fortune, but it is a clear and fixable cause, which beats a large and vague one. The recommendation follows: get every first box out within three working days, starting with Explorer, for example by holding a small stock of each month's Explorer coffee ready for new subscribers instead of waiting for the next roast day. Then keep promoting Explorer, and measure its early churn again in three months.

My view: show the pearls, keep the oysters within reach

Experts disagree on how much of the exploration to show. Knaflic is firm: show the explanatory result, not the exploration3. Wills, writing about linked views, is more neutral but notes the same practical fact, that interactive findings are hard to present to others12. On the other side, there is a fair argument from transparency: if your audience never sees the dead ends, they cannot judge how hard you searched, and the forking paths problem means that matters.

My view: both sides are right about different things, and the log reconciles them. Present the two charts that carry the decision, cleaned and annotated as later chapters on decluttering, focus and words on charts will show. Then say, in one line, how you got there: "43 charts, 23 splits, one pattern, confirmed on six held back months." That single sentence gives the audience the honesty of the exploration without making them reopen every oyster. If anyone wants more, the log is ready.

One more thing: a dashboard full of filters is not an explanation. It hands the exploration to the reader, which suits an analyst and fails a founder who needs an answer.

This is a core part of the data science and analytics work I do for clients: finding the one or two things in the data that actually change a decision, and showing them so nobody has to dig. If you want to try the method on your own numbers, it is exactly the kind of question I like to work through in the free workshop. For more on how this kind of analysis feeds growth, see what data science actually delivers for growth and the retention side in growth through retention and referral.

Conclusion

Exploring is how you find the story. Presenting is how you tell it. They are different jobs and they need different charts.

Explore fast and ugly, in Shneiderman's order, and predict before every plot. Log every chart, including the dead ends. Confirm what you find on data you held back, and line it up against decoys.

Then throw almost all of it away. Ridgeway's analyst made 43 charts and kept two, and those two answered the founder's question better than the other 41 ever could: the problem was never the Explorer plan as such, it was the first box arriving too late.

The next chapter turns to the charts you keep, and how to strip away everything that does not help them make their point.

If you have data you suspect holds an answer but no time to dig, bring one question to the free workshop and we will explore it together; the first two weeks of work are on me.

Sources

  1. 1.

    John W. Tukey, Exploratory Data Analysis, Addison Wesley, 1977, Preface, pages v to vi. Internet Archive record: https://archive.org/details/exploratorydataa00tuke_0

  2. 2.

    Antony Unwin, Good graphics?, in Chun houh Chen, Wolfgang Härdle and Antony Unwin (eds.), Handbook of Data Visualization, Springer, 2008, chapter II.2, pages 57 to 78, https://doi.org/10.1007/978-3-540-33037-0

  3. 3.

    Cole Nussbaumer Knaflic, Storytelling with Data: A Data Visualization Guide for Business Professionals, Wiley, 2015, chapter 1, The importance of context, pages 19 to 20, https://www.storytellingwithdata.com/books

  4. 4.

    Claus O. Wilke, Fundamentals of Data Visualization, O'Reilly, 2019, chapter 28, Choosing the right visualization software, https://clauswilke.com/dataviz/choosing-visualization-software.html

  5. 5.

    Cole Nussbaumer Knaflic, Storytelling with Data, Wiley, 2015, chapter 4, Focus your audience's attention, page 112, https://www.storytellingwithdata.com/books

  6. 6.

    Hadley Wickham and others, R for Data Science, 2nd edition, O'Reilly, 2023, chapter Exploratory data analysis, archived 22 February 2025, http://web.archive.org/web/20250222153725/https://r4ds.hadley.nz/EDA.html

  7. 7.

    Ben Shneiderman, The eyes have it: a task by data type taxonomy for information visualizations, Proceedings of the IEEE Symposium on Visual Languages, 1996, pages 336 to 343, https://doi.org/10.1109/VL.1996.545307

  8. 8.

    Claus O. Wilke, Fundamentals of Data Visualization, O'Reilly, 2019, chapter 7, Visualizing distributions: histograms and density plots, https://clauswilke.com/dataviz/histograms-density-plots.html

  9. 9.

    Adalbert Wilhelm, Linked views for visual exploration, in Chen, Härdle and Unwin (eds.), Handbook of Data Visualization, Springer, 2008, chapter II.8, pages 199 to 215, https://doi.org/10.1007/978-3-540-33037-0

  10. 10.

    F. J. Anscombe, Graphs in statistical analysis, The American Statistician, volume 27, issue 1, 1973, pages 17 to 21, https://doi.org/10.1080/00031305.1973.10478966

  11. 11.

    seaborn documentation, seaborn.pairplot, archived 28 February 2025, http://web.archive.org/web/20250228100403/https://seaborn.pydata.org/generated/seaborn.pairplot.html

  12. 12.

    Graham Wills, Linked data views, in Chen, Härdle and Unwin (eds.), Handbook of Data Visualization, Springer, 2008, chapter II.9, pages 217 to 241, https://doi.org/10.1007/978-3-540-33037-0

  13. 13.

    Richard A. Becker and William S. Cleveland, Brushing scatterplots, Technometrics, volume 29, issue 2, 1987, pages 127 to 142, https://doi.org/10.1080/00401706.1987.10488204

  14. 14.

    Microsoft, Change how visuals interact in a Power BI report, Microsoft Learn, archived 3 February 2025, http://web.archive.org/web/20250203174206/https://learn.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

  15. 15.

    Tableau, Highlight actions, Tableau Desktop help, archived 16 January 2025, http://web.archive.org/web/20250116110440/https://help.tableau.com/current/pro/desktop/en-us/actions_highlight.htm

  16. 16.

    Posit, brushedPoints: find rows of data selected on an interactive plot, Shiny for R reference, archived 19 January 2025, http://web.archive.org/web/20250119060926/https://shiny.posit.co/r/reference/shiny/latest/brushedpoints.html

  17. 17.

    Dianne Cook, Andreas Buja, Eun Kyung Lee and Hadley Wickham, Grand tours, projection pursuit guided tours, and manual controls, in Chen, Härdle and Unwin (eds.), Handbook of Data Visualization, Springer, 2008, chapter III.2, pages 295 to 314, https://doi.org/10.1007/978-3-540-33037-0

  18. 18.

    Andrew Gelman and Eric Loken, The garden of forking paths: why multiple comparisons can be a problem, even when there is no fishing expedition, working paper, Columbia University, 14 November 2013, https://sites.stat.columbia.edu/gelman/research/unpublished/p_hacking.pdf

  19. 19.

    Emanuel Zgraggen, Zheguang Zhao, Robert Zeleznik and Tim Kraska, Investigating the effect of the multiple comparisons problem in visual analysis, Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems, ACM, 2018, https://doi.org/10.1145/3173574.3174053

  20. 20.

    Andreas Buja, Dianne Cook, Heike Hofmann, Michael Lawrence, Eun Kyung Lee, Deborah F. Swayne and Hadley Wickham, Statistical inference for exploratory data analysis and model diagnostics, Philosophical Transactions of the Royal Society A, volume 367, issue 1906, 2009, pages 4361 to 4383, https://doi.org/10.1098/rsta.2009.0120

  21. 21.

    Hadley Wickham, Dianne Cook, Heike Hofmann and Andreas Buja, Graphical inference for infovis, IEEE Transactions on Visualization and Computer Graphics, volume 16, issue 6, 2010, pages 973 to 979, https://doi.org/10.1109/TVCG.2010.161

  22. 22.

    Claus O. Wilke, Fundamentals of Data Visualization, O'Reilly, 2019, chapter 29, Telling a story and making a point, https://clauswilke.com/dataviz/telling-a-story.html

Shelter

I’m running the London Marathon for Shelter. Sunday 25 April 2027

My personal fundraiser. Shelter, the National Campaign for Homeless People Limited, registered charity 263710 (England and Wales) and SC002327 (Scotland), registered with the Fundraising Regulator.

Donate to Shelter