How to make a scatter with trend line
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a number column for X axis and a number column for Y axis, plus a text column for Label if you have it.
-
Check the columns
The scatter with trend line picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a scatter with trend line?
A scatter with trend line plots two numeric measures as dots and adds a least squares regression line, labelled with Pearson's r, to show the direction and strength of a linear relationship.
How to read it
The slope of the line shows the direction and the r value shows strength, from -1 to +1, with values near 0 meaning no linear relationship. Check how tightly the dots hug the line before trusting it.
When to use it
Show the direction and strength of a linear relationship. It is one of the correlation charts, which show how two or more measures move together.
When the relationship is clearly curved or the data form separate clusters, the straight line misleads, so show a plain Scatter plot. To compare many pairs of measures at once, use a Correlation matrix.
Tips for a better scatter with trend line
- Look at the dots before quoting r, since one extreme outlier can create or hide a correlation.
- Use it only when the cloud looks roughly straight; a curved pattern needs a different model.
- Phrase the takeaway as association, not cause, unless the data come from an experiment.
Data you need
One row per item with a number column for X axis and a number column for Y axis, plus a text column for Label if you have it. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Campaign | Ad spend (k) | Revenue (k) |
|---|---|---|
| C01 | 32.5 | 92.7 |
| C02 | 111.6 | 353.6 |
| C03 | 46.5 | 204.9 |
| C04 | 118.2 | 318.3 |
| C05 | 57 | 140.1 |
| C06 | 94.4 | 245 |
| C07 | 59.5 | 161.7 |
| C08 | 60.4 | 174.6 |
Other charts for the same data
More correlation charts
Questions, answered
- What is a scatter with trend line?
- A scatter with trend line plots two numeric measures as dots and adds a least squares regression line, labelled with Pearson's r, to show the direction and strength of a linear relationship.
- How do you read a scatter with trend line?
- The slope of the line shows the direction and the r value shows strength, from -1 to +1, with values near 0 meaning no linear relationship. Check how tightly the dots hug the line before trusting it.
- How do I make a scatter with trend line?
- Paste your data into the chart maker with a number column for X axis and a number column for Y axis, plus a text column for Label if you have it. The scatter with trend line draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a scatter with trend line?
- Show the direction and strength of a linear relationship. It belongs to the correlation family of charts, which show how two or more measures move together. When the relationship is clearly curved or the data form separate clusters, the straight line misleads, so show a plain Scatter plot. To compare many pairs of measures at once, use a Correlation matrix.
- Is this scatter with trend line maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the scatter with trend line as SVG or PNG.