Scatter Plot Maker
Paste your (x, y) data and instantly build a scatter plot, complete with the correlation coefficient and a least-squares regression line.
Input
(x, y) data (one pair per line, separated by comma or space)
Pairs read: 7
Result
Correlation r
0.9984
Strong positive correlation
Regression line
y = 1.9964 x + 0.0143
R-squared (R²)
0.9968
Data points
7 pairs
Full results
| Item | Value |
|---|---|
| Data points | 7 pairs |
| Correlation r | 0.9984 |
| Strength of correlation | Strong positive correlation |
| R-squared (R²) | 0.9968 |
| Regression line | y = 1.9964 x + 0.0143 |
| Slope a | 1.9964 |
| Intercept b | 0.0143 |
| Mean of x | 4 |
| Mean of y | 8 |
| Range of x | 1 to 7 |
| Range of y | 2.1 to 14.3 |
How it works
- Enter one "x, y" pair per line. Values can be separated by a comma, space or tab, and any line that does not contain two numbers is ignored automatically.
- The correlation coefficient r measures the strength of the linear relationship between the two variables on a scale of -1 to 1. Values near 1 indicate a strong upward trend, values near -1 a strong downward trend, and values near 0 little or no relationship.
- The orange dashed line is the least-squares regression line. From the slope a and intercept b in the equation y = a x + b you can estimate the approximate y for a given x.
- R-squared (R²) indicates how well the regression line explains the data; the closer it is to 1, the better the fit.
- Correlation does not imply causation. Spurious correlations and outliers can distort the result, so always interpret the numbers together with the shape of the chart.
- All calculations run entirely in your browser (on your device); the data you enter is never sent anywhere.
Reviews
Tell us what you think of this calculator.
Write a review
Found an incorrect result or a problem? Turn this on to report it.
- Home
Scatter Plot Maker