Private Online Tools

Scatter plot maker with trend line and R²

Plot x against y, with a line of best fit, its equation and R² - here in this tab, with nothing uploaded.

How to make a scatter plot

  1. Paste two columns of numbers: x, then y. Add a first column of names to label points.
  2. Keep 'Trend line' on to get the line of best fit and R².
  3. Save the plot, and copy the equation from under it.

Why this one stays private

Scatter plots are for research data and coursework - measurements you may not be ready to share. The plot and the regression are computed in your browser.

Questions

How is the line of best fit worked out?

Ordinary least squares, the same as Excel's trendline and LINEST. The slope, intercept, R² and correlation coefficient r are shown below the plot.

Can I plot several groups?

Yes. Add more y columns, or use four columns - name, x, y, group - to colour points by group, each with its own trend line.

What does R² mean?

How much of the spread in y the straight line explains, from 0 (none) to 1 (all of it). It says nothing about cause.

What can I save it as?

PNG at twice the screen size, for documents and slides; SVG, a vector file that stays sharp at any size and opens in Illustrator, Figma, Inkscape or PowerPoint; or copy the image and paste it straight into a doc or a chat.

Other tools here