Skip to content
ihateDesmos

Scatter plot maker

Paste your x and y values and get a clean scatter plot, with the line of best fit and its equation. Add a title and axis labels, then download it as an image for a report or slides. No account needed.

2468101214161850556065707580859095Hours studiedTest scoreHours studied and test score
Scatter plot with the line of best fit, y = 2.3812x + 48.702.
Line of best fit
y = 2.3812x + 48.702
Correlation (r)
0.99561
r²
0.99124
Points
10

How to make a scatter plot

  1. 1
    Paste your x values and y values, in matching order. You can copy columns straight from a spreadsheet.
  2. 2
    Add a title and axis labels.
  3. 3
    Choose whether to show the line of best fit, then download a PNG for slides or an SVG for print.

When to use a scatter plot

A scatter plot shows the relationship between two numerical variables, with one dot per observation: height and weight, hours studied and test score, temperature and sales. It shows patterns a table hides: whether the trend is straight or curved, how much scatter there is, and whether anything sits far from the rest.

How to read one

  • Direction. Dots rising to the right show a positive relationship; falling, a negative one.
  • Form. Do the dots follow a straight line or a curve?
  • Strength. Tightly grouped dots mean a strong relationship; a loose cloud means a weak one.
  • Outliers. A dot far from the pattern could be an error, or the most interesting point in the data.

The line of best fit

The line of best fit is the straight line that minimises the sum of the squared vertical distances from the dots to the line, known as least squares. Its equation lets you estimate y for a new x, but be careful about predicting beyond the range of your data, because trends rarely continue forever. For curved fits, use the regression calculator.

Frequently asked questions

How do I make a scatter plot for free?
Paste your x and y values above and the plot appears straight away. You can download it as PNG or SVG with no sign-up and no watermark.
Which variable goes on which axis?
Put the one you think influences the other on the x-axis (the independent variable), and the one being measured on the y-axis (the dependent variable).
Is my data uploaded anywhere?
No. The plot is drawn in your browser, and your numbers are not sent to a server.
How do I find the equation of the line of best fit?
It is shown under the plot, along with r and r². The regression calculator also fits quadratic, exponential and other curves, with error estimates.

Related tools and guides

Try the scatter plot maker

It opens instantly, with no account and nothing to install.

Open the calculator