Skip to content

Free flowchart, diagram and chart makers

Scatter Plot Maker

A scatter plot puts one dot per pair of numbers, X across and Y up. This free maker takes up to 200 points in up to 8 groups and works out the trend line, r and R squared for you. Free includes 3 PNG, SVG or PDF exports a month.

Free · runs in your browser · nothing is uploaded

Open on Diagram Smith

This embed was switched off for this website. Open on Diagram Smith

Need a diagram maker inside your own docs or course site? Embedding it is free. Embedding options

Scatter Plot Maker is a free tool that draws a scatter plot in your browser: one dot for each X and Y pair, so you can see whether two measurements move together. Add a trend line and it shows the equation, the correlation r and R squared. Paste two columns or type them in; nothing is uploaded.

The tool opens with a sample of hours studied against test score, so you can see a finished chart before you type anything. Add a group column to colour several sets of points, a label column to name points, and set units, axis ranges and a theme. Your work autosaves in the browser, and you can export the chart as PNG, SVG or PDF. No sign-up is needed.

Paste your own numbers into the chart tool to draw your first scatter plot. Part of our free diagram maker tools.

At a glance

A scatter plot is a chart that shows each pair of numbers as one dot, with the X value across and the Y value up, so a pattern between two measurements shows as a shape.

  • The table holds up to 200 points in up to 8 groups.
  • The trend line is the least-squares line: slope = Sxy / Sxx and intercept = mean of Y minus slope times mean of X.
  • Pearson r runs from -1 to 1, and R squared is r squared, the share of the spread in Y that the line accounts for.
  • For Anscombe's first data set (11 points) the tool gives y = 0.5001x + 3, r = 0.816 and R squared = 0.667.
  • Free use includes 3 PNG, SVG or PDF exports a month.
  • Your data is not uploaded, and your work autosaves in your browser.
Scatter plot maker example

How to make a scatter plot

  1. Open the tool. It loads a sample, “Hours studied and test score”; the Examples menu has four more.
  2. Enter the data. Type an X value and a Y value in each row. Add a group name to colour points by set, and a label to name a point.
  3. Add rows with “+ Add row” (the Enter key in the last row adds one too). The table holds up to 200 points.
  4. Or paste from a spreadsheet. Copy cells from Excel, Google Sheets or a CSV file into “Paste from a spreadsheet”. X goes in the first column, Y in the second, then an optional group and an optional label. A header row becomes the axis titles.
  5. Choose a trend line. “One line through all points” fits every dot; “One line per group” fits each group. Tick equation and R squared to print them.
  6. Set the look. Pick a theme, point size and chart size; tick “Show the point labels” if you added labels.
  7. Set the axes. Leave the ends on automatic, or type your own minimum, maximum, tick count and a unit.
  8. Export. From the Export menu, download a PNG (also at 2x or 4x), an SVG or a PDF, or copy the image. Free includes 3 PNG, SVG or PDF exports a month.

To share the exact chart, use “Copy link to this diagram” in the Saved menu.

What is a scatter plot?

A scatter plot is a chart that shows each pair of numbers as one dot. The X value places the dot across and the Y value places it up, so a pattern between two measurements shows as a shape. Dots that climb from left to right mean Y tends to rise with X. Dots that fall mean Y tends to drop. A shapeless cloud means no clear link.

A scatter plot is also called a scatter chart, scatter graph or scatter diagram. It is the usual first look at two numeric columns, for example hours studied and test score, advertising spend and sales, or height and weight. Unlike a line graph, the dots are not joined, because the rows have no order.

How do I read r and R squared under the chart?

Under the chart, “The chart in plain words” gives the correlation r, a word for its strength, and R squared. The word comes from a common rule of thumb on the size of r, ignoring the sign: below 0.2 is very weak, 0.2 to 0.4 weak, 0.4 to 0.6 moderate, 0.6 to 0.8 strong, and 0.8 or more very strong.

r runs from -1 to 1. A positive r means the line slopes up, a negative r means it slopes down, and 0 means no straight-line link. R squared is r multiplied by itself. It is the share of the spread in Y that the straight line accounts for, so an R squared of 0.67 means about two thirds. A high r shows that two things move together, not that one causes the other.

For the sample “Hours studied and test score” the readout reports r = 0.976, R squared = 0.952 and the trend line y = 3.618x + 47.6, which means each extra hour adds about 3.6 points. For “Two unrelated measurements” it reports r = -0.0598, a very weak link, and a line that is almost flat.

How is the trend line calculated?

The tool draws the least-squares line, the straight line that makes the squared vertical gaps to the dots as small as possible. The slope is Sxy divided by Sxx, where Sxx is the sum of squared gaps of X from its mean and Sxy is the sum of the X gap times the Y gap. The intercept is the mean of Y minus the slope times the mean of X.

You can check the tool against a published data set. Anscombe’s first set has 11 points, with X values 10, 8, 13, 9, 11, 14, 6, 4, 12, 7 and 5. Pasted in, it gives y = 0.5001x + 3, r = 0.816 and R squared = 0.667, which match the published values of slope 0.5001, intercept 3.0001 and r of about 0.816. The line needs at least two points with different X values.

How do I make a scatter plot with groups?

Type a group name in the Group column, for example “Class A” and “Class B”. Each name gets its own colour and a small legend under the chart, and up to 8 groups are drawn. Choose “One line per group” under “Trend line” to fit and print a line for each group. The readout then lists r, R squared and the equation for all points and for every group.

How do I make a scatter plot in Excel or Google Sheets?

In a spreadsheet you select the two columns, insert a scatter chart, then add a trend line and tick the options that show the equation and R squared. Row and column choices are easy to get wrong, and the chart is hard to reuse outside the file. This tool skips that work: paste the two columns and the dots, the line, r and R squared appear at once, ready to export as an image or a vector file.

Frequently asked questions

Is the scatter plot maker free, and is my data uploaded?

Yes, it is free, runs in your browser and needs no sign-up. Your data is not uploaded, and your work autosaves in your browser.

How many points and groups can I use?

Up to 200 points and up to 8 groups. Rows with a ninth group, and rows beyond 200, are left out, and the tool tells you which row.

Why is a row left out, and how are numbers like 1,234 or 3,5 read?

A row with only an X or only a Y, or with text in a number cell, is not drawn, and the message under the chart names the row. Numbers are read as 1,234 = 1234, 3,5 = 3.5 and 1.234,56 = 1234.56. Currency signs and % are ignored, and (12) is read as -12.

Can I set the axis ranges, units and number of ticks?

Yes. Under “Axis ranges” type an X and Y minimum and maximum, or leave them on auto for round numbers in steps of 1, 2 or 5 times a power of ten. You can set the number of ticks and hide the grid. Under “Number format” you can set the decimal places and a unit before or after the numbers, such as $ or kg. A point that lies outside a range you set is not drawn, and the tool says so.

Can I use what I make with the scatter plot maker commercially?

Yes. Charts you export from this page are free to use in reports, slides, papers, books and products you sell, and no credit is needed. The one thing not allowed is copying the tool or the site to run a competing service; the terms explain it.

What is the difference between a scatter plot and a line graph?

A scatter plot shows pairs of numbers as separate dots and is used to look for a link between two measurements. A line graph joins the points in order, usually along time, to show how one value changes. If your rows have no natural order, use a scatter plot; if they follow time, use a line graph.

Charts and graphs