Skip to content
Graph Craft

Scatter Plot

FacebookX
Example: Ad spend vs. sales over 16 months (made-up data)Apache ECharts

Variant: Standard

Made-up data, for demonstration only

Variants

5 types · click one to see it in the frame above
Difference from standard
The recommended type; use it as a starting point
Use when
See the relationship between two numeric variables

Scatter Plot is a chart that places each item as one dot, according to the values of two variables on the horizontal and vertical axes. Use it to see whether two variables move together. This example is advertising budget and sales over 16 months (made-up data). The dots climb towards the top right, which means a high budget tends to come with high sales.

How to read a Scatter Plot

  • Each dot is one item. Here it is one month. The left-right position is the advertising budget and the up-down position is sales.
  • Look at the direction of the cloud of dots. Climbing to the right means the variables move the same way. Falling to the right means they move in opposite ways. No pattern means no visible relationship.
  • Look at how tight it is. Dots hugging a line mean a strong relationship. In this example the correlation (r) is about 0.96 and R² is about 0.92, which is very strong.
  • Look at the slope. Here the trend line has a slope of about 0.78. In this data set, each extra 1 unit of budget goes with about 0.78 more units of sales (in the units shown on the axes).
  • Look for outliers. The dot at budget 45 and sales 55 sits far above the trend line, so check what happened that month. (The "Labels on key points" variant labels it.)
  • Look at whether it is a straight line or a curve. If the dots curve, a straight line and the value of r will understate the relationship.

When to use it

  • You ask whether two variables are related. A scatter plot is the starting chart for the relationship between two quantitative variables.
  • You want to see all the raw data, not a single summary that hides outliers and odd shapes.
  • You need to see whether the relationship differs by group. Add colour or shape by group. For example, blue jays look like a single trend overall, but once split by sex you see that at the same weight, females have shorter heads.
  • You have dozens to thousands of dots. For more than that, see the section on overlapping dots.

When not to use it

Common mistakes

1. Reading a relationship as cause

The chart says the variables move together, not which one changes the other. A third variable may sit behind both. For example, a festival month may have both a big budget and strong sales. Readers of relationship charts often read cause and effect into them.

2. Adding a trend line when the dots curve

A straight line over curved data says the wrong thing. Look at the dots before the values of r and R².

3. Not separating different groups

If you combine two groups with different directions, a single trend line may show a direction that fits neither group. Try the "Color by group" variant.

4. Dots overlap so density cannot be read

Make the dots semi-transparent, or add a small random shift (jitter), but too much shift distorts the data. If there are really many dots, switch to a binned chart (see the "Dense overlapping dots" variant).

5. The axis does not start at zero, and the slope is over-read

A scatter plot need not start at zero, but it must always have axis titles and units. Look at the shape of the cloud of dots more than at the numbers on the axes.

Compared with similar charts

ChartHow it differsChoose it when
Scatter PlotOne dot per item, 2 quantitative variablesYou look at a relationship
Bubble ChartAdds a third variable as dot sizeThere is a third variable and fine values are not needed
Hexbin PlotCounts dots in hexagonal cellsThere are so many dots that they overlap
Connected ScatterJoins the dots in time orderYou want the path of two variables over time
Correlation MatrixSummarises r for every pairThere are many variables to scan quickly

History and development

The scatter plot is a basic way to show the relationship between two quantitative variables. The history of its earliest examples and of the statistical developments around it spans several periods and should cite specific historical documents, so this page does not name an inventor or a starting year.

Frequently asked questions

How is a scatter plot different from a line chart?

A scatter plot places each item as a dot, and the horizontal axis is another numeric variable, not necessarily time. A line chart joins the points in order, so it suits data over time.

How big does r have to be to call a relationship strong?

There is no fixed line. r lies between -1 and 1. A value of 0 means no linear relationship, and 1 or -1 means a perfect one. Always look at the chart as well.

How do I fix overlapping dots?

Make the dots semi-transparent, shift them slightly, or switch to a Hexbin or a 2D Density plot when there are many.

When did the scatter plot start?

See the history section.

References

  • Fundamentals of Data Visualization, ch. 12: Visualizing associations among two or more quantitative variables · Claus O. Wilke · clauswilke.comUsed to confirm: relationships between variables, correlation and PCA
  • Fundamentals of Data Visualization, ch. 18: Handling overlapping points · Claus O. Wilke · clauswilke.comUsed to confirm: overlapping points, hexbins and contour lines
  • Scatter plot · Data to Viz · www.data-to-viz.comUsed to confirm: how to read a scatter plot and what to watch for
  • Visual Vocabulary (chart-doctor) · Financial Times · github.comUsed to confirm: grouping charts by the question they answer
  • Scatter plot · Wikipedia · en.wikipedia.orgUsed to confirm: the definition and basics of the scatter plot

Last updated 28 Nov 2026