Scatter Plot Maker

Paste x and y values, add a trendline, equation and R².

Paste two columns, x then y, and an optional third column to color points by group. Turn on the linear trendline to get the least squares equation y = mx + b and R squared for each group. Log x and log y axes are available, and the plot downloads as SVG or PNG.

Free, runs in your browser. Nothing you enter is uploaded.

What you get

Questions

How do I make a scatter plot with a line of best fit?

Paste x values in the first column and y values in the second, then turn on Linear trendline. The line is fitted by ordinary least squares and its equation and R squared appear above the plot.

What does R squared mean on a scatter plot?

R squared is the share of the variation in y explained by the straight line. A value of 1 means every point sits on the line and 0 means the line explains nothing. For a linear fit it equals the square of Pearson's r.

How do I plot a standard curve?

Paste the known concentrations as x and the measured signal, such as absorbance, as y. The trendline gives the slope and intercept, so an unknown concentration is (signal minus intercept) divided by slope.

Can I plot several groups on one scatter plot?

Yes. Add a third column with a group name for each row. Each group gets its own color, legend entry and trendline.

When should I use a log scale?

Use log axes when values span several orders of magnitude, such as dose response or body mass data. Points at or below zero cannot be shown on a log axis and are left out with a note.

More Data Visualization

All free tools · By Dr. Zubair Khalid, DVM, MS, PhD.