Skip to main content
StatsPlotMaker

Scatter Plot Maker

Paste X–Y columns from Excel or Google Sheets · Linear, Quadratic & Exponential Trendlines · Instant R², Pearson r & HD PNG/SVG Export

Sample datasets
Data InputJump to Chart

Paste 2+ columns (X, Y, or X, Series 1, Series 2) from Excel or Google Sheets.

Trendline / Regression Model
Weekly Study Hours vs. Final Exam Score02468405060708090100Study Time (hours/week)Exam Score (%)Exam Score: (1.5, 54)Exam Score: (2, 59)Exam Score: (2.5, 63)Exam Score: (3, 66)Exam Score: (3.5, 71)Exam Score: (4, 74)Exam Score: (4.5, 79)Exam Score: (5, 81)Exam Score: (5.5, 86)Exam Score: (6, 88)Exam Score: (6.5, 91)Exam Score: (7, 95)y = 7.336x + 44.407R² = 0.995 | r = 0.998
Points (n)
12
Equation
y = 7.336x + 44.407
R² (Fit)
0.995
Pearson r
0.998
Slope (m)
7.336
Intercept (b)
44.407
100% Free & Private — All statistical calculations and SVG exports run locally in your browser.
Quick Summary

A scatter plot graphs paired numerical (X, Y) observations to measure correlation and fit a regression equation. Paste two or more columns from Excel or Google Sheets to compute OLS slope (m), intercept (b), Pearson r, and R² locally in your browser with watermark-free HD PNG/SVG export.

How to Use the Scatter Plot Maker

  1. Step 1

    Paste or type X and Y pairs

    Copy two or more columns directly from Excel, Google Sheets, or a CSV table, or switch to Table mode to edit cells individually.

  2. Step 2

    Choose your line of best fit

    Toggle Linear (y = mx + b), Quadratic (y = ax² + bx + c), or Exponential fitting and view the live equation, R², and Pearson r on the plot.

  3. Step 3

    Export for Google Docs or Word

    Download a watermark-free 2x/3x PNG or vector SVG, copy the statistics summary text for your lab report, or share a direct #data link.

Linear Regression, Slope & Correlation Formulas

A scatter plot displays paired numerical measurements (x, y) to reveal direction, form, strength, and potential outliers. Ordinary Least Squares (OLS) fits the line of best fit that minimizes the sum of squared vertical residuals.

Slope of Best-Fit Line (m)
m = Σ(xᵢ − x̄)(yᵢ − ȳ) / Σ(xᵢ − x̄)²

Predicted change in Y for every +1 unit increase in X.

Y-Intercept (b)
b = ȳ − m · x̄

Predicted value of Y when X = 0 (always passes through centroid (x̄, ȳ)).

Pearson Correlation (r)
r = Sxy / √(Sxx · Syy)

Measures linear strength and direction between −1 (perfect negative) and +1 (perfect positive).

Coefficient of Determination (R²)
R² = 1 − (SS_res / SS_tot)

Fraction of total variance in Y explained by the fitted regression model (for linear OLS, R² = r²).

Worked Example

Suppose 5 students study x = [2, 3, 4, 5, 6] hours and score y = [60, 66, 74, 80, 85]. The means are x̄ = 4 and ȳ = 73. Computing Sxx = 10 and Sxy = 64 gives slope m = 6.4 points/hour and intercept b = 73 − 6.4(4) = 47.4, yielding ŷ = 6.4x + 47.4 with r ≈ 0.996 and R² ≈ 0.992.

Common Homework & Lab Report Mistakes to Avoid

  • Confusing correlation with causation

    A high R² or strong Pearson r only proves two variables move together linearly—never claim X causes Y without a controlled experiment.

  • Extrapolating far outside the data range

    A line of best fit is only reliable inside the observed X domain. Predicting exam scores at 25 study hours can exceed 100% and break physical reality.

  • Forcing a linear fit on curved data

    Always inspect the point pattern first. Projectile motion or bacterial growth curves can have a mediocre linear R² even when a quadratic or exponential model fits near 0.99.

Recommended Statistics Guides

Frequently Asked Questions

What is a scatter plot used for?+

A scatter plot graphs paired numerical variables on horizontal (X) and vertical (Y) axes to show whether a positive, negative, nonlinear, or zero relationship exists between them, as well as clusters and outliers.

Which equation best models the data in a scatter plot?+

Inspect the overall curve and compare R² values: use a linear equation (y = mx + b) when points follow a constant rate of change, quadratic (y = ax² + bx + c) for U-shaped or parabolic arcs, and exponential (y = a·e^(bx)) for rapid percentage growth or decay.

How do I add a line of best fit to my scatter plot?+

Paste your X and Y columns into the Data Input box and keep Trendline set to Linear, Quadratic, or Exponential. The generator draws the best-fit curve automatically and prints the equation, R², and Pearson r.

How do I make a scatter plot from Excel or Google Sheets data?+

Highlight your two columns in Excel or Google Sheets, press Ctrl+C (or Cmd+C), and paste directly into the Paste tab above. Headers, tabs, commas, and spaces are detected automatically.

Can I plot multiple data series on the same scatter plot?+

Yes. Paste 3 or more columns (X in column 1, Series 1 in column 2, Series 2 in column 3, etc.) or click Add series column in Table mode. Each series gets a distinct color and marker shape.

What is a good R² value for a scatter plot?+

In physics or chemistry labs, R² above 0.95 is common; in biology, psychology, or social science homework, R² between 0.30 and 0.70 can still indicate a meaningful relationship. Always interpret R² alongside the residual pattern.

More Free Statistical Plot Makers