Scatter Plot Maker: Free, With Trend Line

Scatter Plot Maker

Plot x and y values, add a trend line with its equation and R squared, compare groups, make a bubble chart and predict new values.

More ways to save and share

The link holds the data and the settings after the # sign, so they are not sent to us. Anyone with the link can read them.

Type in the cells, or copy cells in Excel or Google Sheets and paste them into the first cell.

Use the same data in another chart

What the correlation r means

r goes from -1 to 1. The sign gives the direction: positive means both values rise together, negative means one falls as the other rises. The size gives the strength. These limits are a common rule of thumb, and each field has its own:

r without its signRelationship
0.9 to 1Very strong
0.7 to 0.9Strong
0.5 to 0.7Moderate
0.3 to 0.5Weak
0 to 0.3Very weak or none

r only measures straight-line relationships. A clear curve can have an r near 0, so always look at the plot. A strong correlation does not show that one thing causes the other.

Which trend line to choose

Trend lineEquationUse it when
Lineary = ax + bThe points follow a straight line
Quadraticy = ax^2 + bx + cOne bend: up then down, or down then up
Cubicy = ax^3 + bx^2 + cx + dTwo bends
Exponentialy = ae^(bx)Growth or decay by the same percentage each step
Powery = ax^bBoth axes logarithmic gives a straight line
Logarithmicy = a ln(x) + bA fast rise that levels off

R squared is the share of the variation in y that the line explains. Adding bends always raises it, so prefer the simplest line that follows the points.

Your data stays in this browser. It is saved here so the chart is still there when you come back, and it is never uploaded.

A scatter plot maker turns pairs of x and y values into a point graph so you can see whether two variables move together. Enter your data, add a trend line with its equation and R squared, compare groups, switch to a bubble chart or predict new values. It suits students, analysts, marketers and anyone who needs to show a relationship quickly.

What Is a Scatter Plot?

A scatter plot is a graph that shows each observation as one point, with its x value on the horizontal axis and its y value on the vertical axis. It answers a single question: when x changes, what does y tend to do?

It needs two numeric measurements taken on the same items, such as advertising spend and sales for each month, or hours studied and test score for each student. Unlike a bar chart, it does not compare categories. Unlike a line graph, it does not join the points in order, because the x values are not a timeline.

The shape of the cloud is the message. Points that climb from left to right show a positive relationship. Points that fall show a negative one. A shapeless blob suggests little or no relationship. A trend line, often called a line of best fit, summarizes the cloud with one equation you can reuse.

How to Use the Scatter Plot Maker

You can go from raw numbers to a finished graph with a trend line in a few steps.

  1. Enter your x and y values as pairs, one point per row. Use plain numbers only, without units or symbols such as $ or %.
  2. Look at the plotted points before anything else. Check for outliers, gaps and obvious curves.
  3. Add a trend line and start with the linear option. Switch to another type only if the points clearly bend.
  4. Read the equation, R squared and the correlation r shown with the chart.
  5. If your points belong to different groups, such as two products or two classes, compare the groups on the same plot.
  6. If you have a third numeric value, such as revenue or population, switch to a bubble chart so that value sets the size of each point.
  7. Enter a new x value to predict the matching y from the trend line.

Worked Example: Study Hours and Test Scores

Suppose six students report hours studied (x) and score (y): 1 hour and 52, 2 and 58, 3 and 65, 4 and 70, 5 and 78, 6 and 83. Plot them and the points rise in a nearly straight band.

With a linear trend line, the equation comes out at about y = 6.29x + 45.67. That reads as follows: with zero hours the line starts near 46 points, and each extra hour adds about 6.3 points. The correlation r is about 0.999 and R squared is about 0.997, so the line explains roughly 99.7% of the variation in these scores.

To predict the score for a student who studies 5.5 hours, put 5.5 into the equation: 6.29 × 5.5 + 45.67 is about 80.2. That prediction sits inside the data range (1 to 6 hours), so it is fairly safe. Predicting 15 hours would give a score above 100, which is impossible, and shows why a line should not be pushed far past your data.

How Do You Read the Correlation r and R Squared?

The correlation r runs from -1 to 1. The sign gives the direction, and the size without the sign gives the strength. Positive means both values rise together. Negative means one falls as the other rises.

r without its signRelationship
0.9 to 1Very strong
0.7 to 0.9Strong
0.5 to 0.7Moderate
0.3 to 0.5Weak
0 to 0.3Very weak or none

These limits are a common rule of thumb, and each field has its own standards. Social science data rarely reaches 0.9, while a physics experiment often does.

What R squared tells you

R squared is the share of the variation in y that the trend line explains. An R squared of 0.64 means the line accounts for 64% of the variation, and the other 36% comes from things your data does not capture. Higher is better only if the line is also simple, because adding bends always raises R squared.

Common result patterns and fixes

  • High r, but the plot is curved: r only measures straight-line fit, so a curve can hide in a decent r. Try a quadratic, exponential or logarithmic line.
  • r near 0, but the points form a clear curve: a U shape can have an r near 0 even though x and y are tightly linked. Always judge the plot first.
  • One point far from the rest: check it for a typing error, then run the plot with and without it. A single outlier can pull the line and r a long way.
  • Strong r, but you want to claim a cause: a strong correlation does not show that one thing causes the other. Treat it as a lead to investigate.

Which Trend Line Should You Choose?

Choose the simplest trend line that follows your points, and match its shape to how the data behaves.

  • Linear (y = ax + b): the points follow a straight line.
  • Quadratic (y = ax^2 + bx + c): one bend, either up then down or down then up.
  • Cubic (y = ax^3 + bx^2 + cx + d): two bends.
  • Exponential (y = ae^(bx)): growth or decay by the same percentage each step, such as compounding.
  • Power (y = ax^b): the points become a straight line when both axes are logarithmic.
  • Logarithmic (y = a ln(x) + b): a fast rise that levels off, like early learning gains.

If a linear line gives R squared of 0.55 and a cubic gives 0.58, stay with linear. The small gain comes mostly from the extra bends, not from a better explanation.

Who Uses a Scatter Plot Maker?

Anyone with two numeric measurements per item can use it, and the situations below come up often.

  • Students: turn a lab or statistics assignment into a graph with a fitted line, equation and r, and check your hand calculations.
  • Marketers: plot ad spend against conversions per campaign to see whether more budget really buys more results. For the underlying ratios, the ad metrics calculator helps.
  • Site owners: compare page length with time on page, or number of backlinks with ranking position, to spot patterns worth testing.
  • Teachers and researchers: show how two measures relate across groups, such as two classes or two treatments.
  • Analysts: use the bubble chart when a third measure, such as sales volume, matters as much as x and y.

Best Practices and Common Mistakes

Good scatter plots come from clean data and a restrained choice of trend line.

  • Put the cause or input on x. Place the variable you control or suspect drives the other (hours studied, ad spend) on the x axis, and the outcome on y.
  • Use matched pairs. Every x needs a y from the same item. A missing or shifted value misaligns every point after it.
  • Remove symbols and text. Values like 12% or $400 should be entered as 12 and 400.
  • Use enough points. Six points can show a pattern, but a trend from 20 or more points is far more reliable.
  • Do not extrapolate far. Predictions are most trustworthy inside the range of your x values.
  • Compare groups on one plot. Different groups can hide opposite trends when mixed together, so separating them often reveals the real pattern.

If you want to compare categories instead of two numeric variables, a bar graph maker is the better choice. To show how one variable is spread out, try the box plot maker or the dot plot maker. For a quick summary of a single column of numbers, the average calculator gives the mean, median and range.

Limitations to Keep in Mind

A scatter plot shows association, not proof. Two measures can move together because of a third factor, such as ice cream sales and sunburn both rising in summer. The correlation r measures only straight-line relationships, so a strong curve can score low.

A trend line also describes the data you entered, not the wider population, unless your sample is representative. Treat equations and predictions as estimates, check them against the plot, and be careful when a few points drive the result.

Paste your numbers into the scatter plot maker on this page, check the shape of the points first, and then choose the simplest trend line that fits. If you want more utilities for numbers and charts, browse the online calculators and utilities collection.

Frequently Asked Questions

What is a scatter plot used for?
A scatter plot is used to show whether two numeric variables are related. Each point is one item, with x on the horizontal axis and y on the vertical axis. For example, you can plot ad spend against sales to see if higher spend goes with higher sales.
How do you make a scatter plot with a line of best fit?
Enter your x and y values as pairs, then add a trend line and choose Linear. The Scatter Plot Maker draws the line and shows its equation, R squared and the correlation r, so you can judge how well the line fits.
What does the correlation r mean on a scatter plot?
The correlation r measures how closely points follow a straight line, from -1 to 1. The sign shows direction and the size shows strength. As a common rule of thumb, 0.7 to 0.9 without the sign is strong, and 0.9 to 1 is very strong.
Which trend line should I choose for my data?
Choose the simplest line that follows your points. Use linear for straight patterns, quadratic for one bend, cubic for two, exponential for constant percentage growth, power for straight lines on log axes, and logarithmic for a rise that levels off.
Why is my r near zero when the points clearly form a pattern?
The correlation r only measures straight-line relationships, so a curve such as a U shape can give an r near 0. Look at the plot, then try a quadratic, exponential or logarithmic trend line and compare R squared.
Is the scatter plot maker free, and can it predict new values?
Yes, the Scatter Plot Maker is free and needs no sign-in. After you add a trend line, you can predict a new y from an x value. Predictions are most reliable inside the range of x values you entered.
Recommended

Explore VPN options

A VPN changes your network exit. It does not guarantee anonymity.

Hide Your IP Encryption Network coverage
Protect My IP Now