What is exploratory data analysis? Find data structure through plots and questions
Exploratory data analysis (EDA) is an approach to inspecting data in different ways at the start of an analysis to understand its structure, outliers, relationships, and assumptions. Instead of rushing to a conclusion from a mean or correlation alone, combine summary statistics and plots to ask, “What does this data look like, and what should I check next?” A pattern found during exploration is a hypothesis to investigate, not by itself a confirmed cause or statistical proof.
What is exploratory data analysis? Find data structure through plots and questions
Exploratory data analysis (EDA) is an approach to inspecting data in different ways at the start of an analysis to understand its structure, outliers, relationships, and assumptions. Instead of rushing to a conclusion from a mean or correlation alone, combine summary statistics and plots to ask, “What does this data look like, and what should I check next?” A pattern found during exploration is a hypothesis to investigate, not by itself a confirmed cause or statistical proof.
Why numeric summaries are not enough
Summary statistics compress selected properties of data into a few numbers. A mean describes a center, a standard deviation describes spread, and a correlation coefficient summarizes a linear relationship between two variables. This compression is useful, but it can hide multiple clusters, a point that dominates a relationship, or a curved pattern.
The well-known Anscombe quartet contains four datasets, each with 11 observations, constructed to have nearly the same means, variances, linear-regression intercept and slope, and correlation. Yet their scatterplots look different: one is broadly linear, one is curved, one has a conspicuous outlier, and one has nearly identical x-values except for a distant point that strongly influences the regression line. NIST shows that the four correlations are all about 0.816 even though the plots differ. The summaries are not wrong, but alone they do not adequately describe the data's shape or which analysis method fits. NIST: EDA and a graphics example
Figure: A reproduced plot of the 11 observations in each Anscombe dataset published by NIST, shown on shared axes. The points are a statistics teaching example, not real-world measurements. NIST: EDA and a graphics example
A practical order for exploration
EDA is not a ritual of creating every possible chart. It is an iterative process of checking data to answer a question. Use this sequence as a starting point.
**Write down the question and data scope.** State what you want to understand, what one observation represents (a customer, order, or day), and the population and period covered. Means and totals are hard to interpret if you do not know what a row represents.
**Check structure and quality.** Inspect row and column counts, variable types, duplicates, missing values, impossible values, and consistency of dates, units, and category codes. Do not automatically replace missing values with zero or delete outliers; find out whether they represent real events or collection errors.
**Inspect each variable's distribution.** For categories, use a frequency table to find rare or missing categories. For numeric data, use a histogram, box plot, or quantiles to look for skew, multiple peaks, out-of-range values, and concentration near the center. Compare the median and quantiles as well as the mean when the mean may not be representative.
**Inspect relationships between variables.** Use a line chart for change over time, a scatterplot for two numeric variables, and aligned comparison charts or tables for group differences. Split an overall pattern by region, period, or group to see whether it holds. Do not infer every group's behavior from the overall average; relationships can differ within subgroups.
**Investigate unusual points and patterns.** Before removing a prominent point, check the source record, collection process, and business context. If one point strongly affects a result, record how the conclusion changes with and without it. When a data error is confirmed and excluded, document the rule and its effect.
**Form hypotheses and validate them separately.** Record the pattern and question, along with plausible alternative explanations. Finding a pattern and testing it on the same data can make a chance discovery look confirmed. Check important hypotheses using new data, a pre-specified analysis plan, or a separate validation sample. If that is not possible, describe the finding as exploratory.
Hypothetical example: investigating more delivery delays
Suppose an operations team receives a report that the delivery-delay rate has recently increased. First, define “delay” (after the promised date, or beyond a certain time after dispatch), the unit of observation, the data cutoff, and the period. Then plot the daily delay rate alongside the number of orders. If the rate rose on a day with very few orders, a changing denominator may have moved the rate substantially. Next, split the pattern by region, carrier, and product group, and check whether missing delivery-completion times cluster with one carrier.
“The delay rate rose in one region” is an exploratory observation. To conclude that the carrier assigned to that region caused it, compare other explanations such as assignment rules, volume, weather, holidays, or missing data. If the sample is small or some orders are unresolved, state that uncertainty and request more data. Do not invent hypothetical numbers or real operating results to support the conclusion.
Sharing exploratory findings
For exploratory work, record the question, source and extraction date, row-level unit, filters, missing-value and exclusion handling, and summaries or visualizations used. Distinguish preliminary observations from confirmed facts, and preserve definitions and conditions so another analyst can reproduce the result. If an analysis is repeated or influences important decisions, consider moving it into a governed report or model with defined metrics, validation, access rules, and an owner. Do not promote every ad hoc exploration directly into an official metric.
EDA is not about making more charts. It helps you understand data structure, expose incorrect assumptions, and formulate better questions for the next analysis. Use plots alongside numeric summaries, and treat explanations found during exploration as hypotheses until they receive additional validation.