Scatter Plot Maker

Paste X and Y values and get a scatter plot with a trendline, the regression equation and the correlation — in one click.

Try sample:

12 valid (X, Y) points

Dot size

12 plotted points • 1 series

Study Hours vs Exam Score0.9854.32.8665.44.7576.56.6387.68.5298.7Study HoursExam ScoreAlex: (1.5, 58)Sam: (2, 62)Jordan: (2.5, 66)Taylor: (3, 71)Morgan: (3.5, 70)Casey: (4, 76)Riley: (4.5, 79)Jamie: (5, 82)Quinn: (5.5, 85)Avery: (6, 84)Cameron: (7, 91)Drew: (8, 95)y = 5.641x + 51.904r = 0.988 • R² = 0.976

Regression & Correlation Summary

See t-test & step-by-step sums →

Line of Best Fit

y = 5.641x + 51.904

Pearson r

0.9879

R² (Explained)

0.976 (97.6%)

r = 0.988 — a strong positive linear relationship: as Study Hours goes up, Exam Score tends to go up as well.

Each 1-unit increase in Study Hours is associated with about 5.641 more units in Exam Score.

R² = 0.976 — about 97.6% of the variation in Exam Score is explained by its linear relationship with Study Hours.

How to Use This Scatter Plot Maker

Create a publication-ready XY scatter graph with a trendline and correlation readout in three straightforward steps:

  1. Enter your paired X and Y values: Paste two-column spreadsheet rows into Paste pairs (include an optional third column for point names), paste separate X and Y lists under Two columns, or upload a local CSV or XLSX file up to 5,000 rows.
  2. Customize axes, series, and trendline options: Keep Line of best fit and Equation & r on chart checked when you want y = mx + b, r, and R² rendered inside the image for lab reports or homework screenshots.
  3. Read the correlation summary and export: Check the plain-English interpretation card below the graph, inspect the optional residual plot, and download a crisp 2× PNG, scalable SVG, or a CSV table containing predicted values (ŷ) and residuals.

Line of Best Fit, r and R² in Plain English

Reading the Line of Best Fit

When people search for a line of best fit calculator alongside a scatter graph, they are looking for the ordinary least-squares regression line y = mx + b — the unique straight line that minimizes the sum of squared vertical distances (residuals) between your observed dots and the line. The slope (m) tells you how much Y is predicted to change when X increases by 1 unit. The study-hours preset has 12 pairs and gives y = 5.641x + 51.904, rounded to three decimal places, just as on the chart. Its slope m = 5.641 means the model predicts about 5.641 additional exam points for each extra study hour. This association does not establish that studying longer causes that increase. The intercept (b) is where the line crosses X = 0, which serves as a mathematical anchor (though you should avoid extrapolating far outside your observed X range).

Recalculate an exact reference line

For (1, 3), (2, 5), (3, 7), (4, 9), the expected slope is 2, intercept is 1, and r = R² = 1. Every residual is zero. The link loads these four pairs; chart settings are adjusted separately.

What the Correlation Coefficient r Tells You

Pearson's correlation coefficient r always lies between −1 and +1 and has no units. Its sign shows direction (positive slopes upward; negative slopes downward), while its magnitude measures how tightly points cluster around a straight line:

  • |r| ≥ 0.70 (strong linear association): Dots follow a clear linear band with relatively narrow scatter.
  • 0.40 ≤ |r| < 0.70 (moderate linear association): A visible trend exists, but individual points vary substantially around the trendline.
  • |r| < 0.40 (weak or near-zero linear association): X alone is a weak linear predictor of Y — always inspect the scatter plot visually, because a sharp U-shaped curve can produce r ≈ 0 even when X and Y are strongly related!

Need hypothesis-testing metrics such as the two-tailed t-statistic, p-value, Spearman rank correlation (ρ), and deviation sums? Send your data directly to our correlation coefficient calculator.

R²: How Much of the Variation Is Explained

While r tells you direction and linear tightness, the coefficient of determination R² (equal to r² in simple linear regression) tells you the proportion of total variance in Y accounted for by the linear model. For example, r = −0.60 and r = +0.60 have opposite directions, yet both yield R² = 0.36 — meaning 36% of the variation in Y is explained by X and the remaining 64% comes from other factors or random noise.

Paste Data From Excel or Google Sheets

Building a scatter plot in Excel or Google Sheets often takes six menu clicks just to display the regression equation, label individual points, or check residuals. Here, copying two columns from any spreadsheet (including a text header row like Temperature, Sales) automatically names the horizontal and vertical axes and plots every coordinate pair immediately. If you paste X and Y separately in the Two columns tab and accidentally miss a cell, this maker refuses to silently drop trailing numbers — instead, it flags the exact X and Y counts so misaligned pairs never corrupt your slope or r value.

Multiple Series, Point Labels and Outliers

Plotting Two or More Series

Click + Add series to overlay up to five color-coded groups on the same XY plane — ideal for comparing treatment vs. control groups, store regions, or plant varieties. Each series gets its own legend swatch and custom color picker so subgroup clusters stand out immediately.

Labeling Points and Spotting Outliers

Add a third column (such as student name, city, or trial ID) and toggle Show point labels on datasets up to 30 observations to annotate each dot cleanly. Leaving Highlight outliers enabled circles any point whose standardized residual exceeds ±2 in red, helping you see whether a single extreme pair is pulling the line of best fit toward itself.

Scatter Plot vs Line Graph: Which One Do You Need

Choosing the right chart depends on whether you have one variable or two, and whether order over time matters:

GoalRecommended Chart / ToolKey Difference
Test how two numeric variables (X and Y) relateScatter Plot Maker (this page)Plots unjoined (X, Y) coordinates and fits a regression trendline.
Track one measurement across sequential time periodsTime-series Line GraphConnects ordered points left-to-right to emphasize period-to-period change.
Inspect the distribution of a single numeric variablehistogram maker, dot plot maker, or stem and leaf plot makerSummarizes center, spread, and skew (pair with our mean median mode calculator or frequency distribution calculator).

Scatter Plot Maker FAQ

What is a scatter plot maker?

A scatter plot maker is an online XY graph generator that plots paired numeric variables as dots on horizontal (X) and vertical (Y) axes so you can see whether the two variables move together, fit a linear regression trendline, and measure correlation strength.

How do I add a line of best fit?

The line of best fit is turned on by default as soon as you enter at least two valid (X, Y) pairs. The tool fits an ordinary least-squares regression line y = mx + b and draws both the dashed trendline and the equation badge directly on the chart.

What does an r value of 0.8 mean?

A correlation coefficient of r = 0.80 indicates a strong positive linear relationship: as X increases, Y consistently tends to increase as well. Squaring it gives R² = 0.64, meaning 64% of the variation in Y is explained by its linear relationship with X.

Can I paste two columns from Excel or Google Sheets?

Yes. Copy two adjacent columns from Excel or Google Sheets (with or without a header row) and paste them directly into the Paste pairs tab, or switch to Two columns to paste X and Y separately. If X and Y have different counts, the tool alerts you immediately instead of dropping rows.

How can I tell a positive correlation from a negative one?

Look at the slope of the point cloud from left to right: if the dots climb upward as X increases, the correlation is positive (r > 0); if the dots slope downward as X increases, the correlation is negative (r < 0); if the cloud is flat or random, r sits near 0.

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

A scatter plot displays individual (X, Y) observations without connecting dots in sequence and is used to test relationships between two numeric variables. A line graph connects ordered points—usually over equally spaced time intervals—to track how a single series changes over time.