MoreMind
Start free trial
QUICK PEEKDATA TO FIGURE

Make a scatter plot with a regression line, online.

Paste two columns of numbers to draw a labelled scatter or line plot with a least-squares regression line and its 95% confidence band. You also get n, slope, intercept, Pearson's r, R² and the slope's p value, and can download the figure as SVG or PNG.

Make a figureAll quick peeks
NO ACCOUNT · RUNS IN YOUR BROWSER · ABOUT 30 SECONDS
Fig 0SCATTER · OLS · 95% CI
Illustrative chart. The tool below draws yours from the numbers you paste.
FIG 1THE PEEK

Paste x and y, get the figure.

Sample numbers are pre-filled (made up for the demo). Paste two columns from a spreadsheet to replace them.

Fig 1CSV → SVG / PNG · OLS · 95% CI
CSV, TSV OR SPACES · PASTE FROM A SPREADSHEET · SAMPLE NUMBERS ARE MADE UP
5060708090024681012hours studiedexam scoremoremind.aiy = 49.45 + 3.581x · R² = 0.95
SVG IS VECTOR: OPENS IN WORD, GOOGLE DOCS, INKSCAPE · PNG IS 1920 × 1260 PX
THE LINK CONTAINS YOUR INPUTS AND REOPENS THIS RESULT
14
N
3.581
SLOPE
49.451
INTERCEPT
0.973
PEARSON r
0.948
R²
< .001
p (SLOPE) · t(12)
APA-STYLE · ADAPT TO YOUR SENTENCE
r(12) = .97, p < .001; slope b = 3.58, t(12) = 14.74
OLS · TWO-SIDED t-TEST ON THE SLOPE · BAND = 95% CI OF THE MEAN RESPONSE
RUNS ENTIRELY IN YOUR BROWSER — NOTHING IS UPLOADED.
FIG 2HOW TO USE

How to use the scatter plot maker

  1. 01 →
    Paste two columns
    x then y, straight from a spreadsheet or as CSV. Put the variable names in the first row to label the axes.
  2. 02 →
    Choose the plot
    Scatter or line, with or without the regression line and its 95% band. The statistics and an APA-style line update as you type.
  3. 03
    Download or share
    Save the figure as SVG or PNG (with or without the small credit), or share a link that redraws the same figure.
MethodWHAT THE CODE DOES

How it works: the method

With x̄ and ȳ the means, Sxx = Σ(x − x̄)², Syy = Σ(y − ȳ)² and Sxy = Σ(x − x̄)(y − ȳ):

slope b = Sxy / Sxx, intercept a = ȳ − b·x̄ r = Sxy / √(Sxx·Syy), R² = r² s = √(SSE / (n − 2)), SSE = Syy − b·Sxy t = b / (s / √Sxx), df = n − 2 (two-sided p) band: ŷ ± t₀.₉₇₅,n−2 · s · √(1/n + (x − x̄)²/Sxx)

The p value for the slope comes from the t distribution via the regularized incomplete beta function. The band is the 95% confidence interval of the mean response, drawn over the range of your x values. Axis ticks are rounded to steps of 1, 2, 2.5 or 5 × 10ⁿ.

Example14 POINTS · MADE-UP DATA

Worked example

The pre-filled data are 14 made-up students' hours studied (x) and exam scores (y). The fit is:

n = 14 slope b = 3.581, intercept a = 49.451 r = 0.973, R² = 0.948 t(12) = 14.74, p < .001

So each extra hour goes with about 3.6 more points on average. The figure labels the line y = 49.45 + 3.581x · R² = 0.95, and the APA-style line reads r(12) = .97, p < .001; slope b = 3.58, t(12) = 14.74.

FIG 3THE FULL WORKSPACE

What the full workspace adds.

Fig 3IN MOREMIND
  • ✓70+ chart and diagram types across 4 rendering engines, described in plain words
  • ✓Code for every figure that you can edit, rerun and keep with your data
  • ✓Numbered figures and captions that stay in order as your draft changes
  • ✓Verified references for the methods you cite, in your citation style
  • ✓You decide what the figure means; MoreMind doesn't write your results text

You still write the argument.

MoreMind handles the mechanics around your work (sources, data, figures and formatting) so your time goes into the thinking. Every result is something you check and decide on.

7 DAYS FREE · NO CARD NEEDED
KEEP GOING
Turn your whole dataset into report-ready figures.
We'll send a short guide to choosing the right chart and reporting a regression correctly, plus a 7-day free trial (no card).
We'll email you about MoreMind. Unsubscribe anytime. See our privacy policy.
FIG 4QUESTIONS

Scatter plots and regression: common questions

What exactly is computed?

An ordinary least-squares line y = a + bx; Pearson's r and R²; and a two-sided t-test of the slope with n − 2 degrees of freedom. The p value comes from the t distribution, computed with the regularized incomplete beta function. You need at least three points and some spread in x.

What is the shaded band around the line?

The 95% confidence interval for the mean of y at each x: where the true regression line is likely to lie. It is not a prediction interval for single new points, which would be wider. It is drawn across the range of your x values only.

How should I paste my data?

Two columns, x then y, one row per point, separated by a tab, semicolon, comma or spaces, so you can paste straight from a spreadsheet. If the first row isn't two numbers it is used as the axis labels (underscores become spaces). Other rows that aren't two numbers are skipped and counted.

Can I put the figure in my report?

Yes. Download SVG for a vector file that stays sharp at any size (Word, Google Docs, PowerPoint and most journals' figure tools accept it) or PNG for a 1920 × 1260 px image. A small moremind.ai credit sits in the corner; untick the box to remove it before downloading.

Scatter or line plot?

Use a scatter plot when each row is an independent observation. A line plot joins the points in order of x, which suits measurements over time or another ordered variable. The regression line and its statistics are the same either way.

Is my data uploaded?

No. Parsing, the statistics and the drawing all happen in your browser. If you press Share result, the numbers and axis labels are written into the link itself, so anyone who opens it, and our server, which draws the page and its preview image, sees them.
NEXTRELATED TOOLS

More quick peeks

STATISTICS
Welch's t-test calculator →

Two groups to descriptives, Welch's t-test, Cohen's d and an APA-style sentence.

CHEMISTRY
Molar mass calculator →

Any formula to g/mol and percentage composition by element.

STRUCTURE
Paper outline generator →

The sections your paper type needs, what each must do, and a word budget.

ALL SIX
Every quick peek →
MoreMind
Research and writing copilot used by students and researchers at 500+ universities worldwide. Verified sources, figures from your data, and an argument that stays yours.
REACH A PERSONsupport@moremind.aiReplies within one working day
© 2026 MoreMind. All rights reserved.MADE FOR STUDENTS WHO DO THE THINKING