keisoku

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

1234567246810121416xy

Regression line

y = 1.9964 x + 0.0143

R-squared (R²)

0.9968

Data points

7 pairs


Full results

ItemValue
Data points7 pairs
Correlation r0.9984
Strength of correlationStrong positive correlation
R-squared (R²)0.9968
Regression liney = 1.9964 x + 0.0143
Slope a1.9964
Intercept b0.0143
Mean of x4
Mean of y8
Range of x1 to 7
Range of y2.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.