
Dan Patiño
AI Strategy & Innovation at Coderhouse
Data
A scatter plot is a chart that shows the relationship between two numeric variables. Each dot is one observation, placed where its value on the horizontal axis (X) meets its value on the vertical axis (Y). Plot ad spend against revenue, delivery time against customer rating or price against units sold, and you can see at a glance whether the two move together, in opposite directions or not at all.
For data analysts, the scatter plot is often the first chart to draw before calculating a correlation or fitting a regression. It shows the shape of the relationship, the outliers and the surprises that a single summary number hides.
How a scatter plot is built
The NIST Engineering Statistics Handbook defines it simply as a plot of Y versus X:
X axis (horizontal): the variable you suspect may influence or explain the other, often called the independent or predictor variable.
Y axis (vertical): the outcome you want to understand, often called the dependent or response variable.
Dots: one per row of data, with no line connecting them.
If you are not sure which variable drives which, the choice of axes matters less, but labeling both clearly, with units, always matters.
How to read a scatter plot
NIST lists the core questions a scatter plot answers: are X and Y related, is the relationship linear or non-linear, does the spread of Y change with X, and are there outliers? In practice, analysts read four things:
1. Direction
Positive: dots rise from left to right. As X increases, Y tends to increase.
Negative: dots fall from left to right. As X increases, Y tends to decrease.
None: a shapeless cloud. Knowing X tells you little about Y.
2. Strength
The tighter the dots cluster around a line or curve, the stronger the relationship. Tableau's scatter plot guide puts it the same way: the stronger the correlation, the more closely the points follow the line.
3. Shape
Not every relationship is a straight line. Points may curve (for example, diminishing returns on ad spend), bend into an L shape or form clusters that suggest separate groups such as customer segments or regions.
4. Outliers and spread
Look for points far from the rest and for a cone shape where the spread widens as X grows. Both affect any model you fit later. Our guide to detecting and handling outliers explains what to do next.
Scatter plots, correlation and trend lines
A scatter plot is visual; the correlation coefficient puts a number on the linear relationship. It ranges from -1 (perfect negative) through 0 (no linear relationship) to +1 (perfect positive). In Excel, the CORREL and PEARSON functions calculate it, as Microsoft's Analysis ToolPak documentation explains, and the ToolPak can build a full correlation matrix when you have more than two variables.
Adding a trend line shows the best-fitting straight line through the dots. Many tools also display R-squared, which indicates how much of the variation in Y the line explains: values near 1 mean a strong linear fit, values near 0 mean almost none. Tableau's help on choosing predictors shows a useful lesson: removing a small cluster of extreme points can flatten a trend line completely, so always check whether a few dots are driving the result.
Once the pattern looks linear, the natural next step is regression analysis, which estimates how much Y changes for each unit of X.
Correlation is not causation
A scatter plot can show that two variables move together, but never why. Ice cream sales and sunburn cases rise together because both depend on hot weather, not because one causes the other. NIST is explicit that association does not prove causality; that conclusion needs domain knowledge, experiments or careful study design. We go deeper in correlation vs causation.
When to use a scatter plot (and when not to)
Use it when:
Both variables are numeric and you have one pair of values per observation.
You want to explore a possible relationship before building a model.
You need to spot outliers or clusters across two dimensions.
Choose another chart when:
You want the distribution of a single variable: use a histogram or box plot.
One axis is time: a line chart usually reads better.
You have hundreds of thousands of points: overplotting hides the pattern, so use transparency, sampling or a density (hexbin) chart.
Practical tips for better scatter plots
Add a third variable with color or size (a bubble chart) to show segment or volume, but avoid stacking too many encodings.
Use a log scale when values span several orders of magnitude, such as company revenue.
Use a scatterplot matrix to compare every pair of variables at once during exploratory analysis.
Write the takeaway in the title, for example "Higher discounts did not increase order size," so stakeholders read the insight, not just the dots.
FAQ
What is a scatter plot used for?
To show whether and how two numeric variables are related, and to spot outliers, clusters and non-linear patterns.
What is the difference between a scatter plot and a line chart?
A scatter plot shows independent pairs of values without connecting them. A line chart connects points in order, usually over time.
What does a scatter plot with no pattern mean?
That there is little or no relationship between the two variables, at least not one visible in this data.
How do I make a scatter plot in Excel?
Select two numeric columns, go to Insert > Charts and choose Scatter. Then add axis titles and, if useful, a trend line with R-squared displayed.
Keep learning with Coderhouse
Reading relationships in data is one of the first skills every analyst builds. Choose your next step:
Data Analytics Course — learn Excel, SQL, Python and statistics to explore data, build charts and explain what they mean; no coding background needed.
Forward Deployed AI Engineering Course — for experienced developers who want to build AI apps and agents on top of real business data.
GTM Engineer Course (waitlist) — join the waitlist for early access to the program on automating go-to-market workflows with data and AI.
I'm Dan Patiño, head of AI Strategy & Innovation at Coderhouse. My day-to-day work involves merging the tactical management of e-commerce (CRO, Email Marketing and SEO) with the development of disruptive solutions. I specialize in building internal AI-powered apps to automate tasks and boost innovation within the team. I firmly believe that technology is strategy's best ally. To dive deeper into my professional journey, I'll be waiting for you on my LinkedIn profile.