Scatter Plot Maker

Plot two CSV columns as a scatter chart with optional regression overlay.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Choose an X column and a Y column from your CSV and get a scatter plot with a fitted regression line, as a downloadable PNG. The slope, intercept, R-squared and number of points come back alongside it.

How to use

1
Step 1
Paste the CSV or drop a file.
2
Step 2
Enter the X and Y column names.
3
Step 3
Press Process and download the PNG.

How it works

Each row becomes a point at (x, y). The tool fits a least-squares line through all complete pairs and draws it over the points. The same fit is returned as numbers so you can quote it.

Worked example

The x and y columns

Input
x: 1..7 y: 2.1, 3.9, 6.2, 7.8, 10.1, 12.2, 30
Output
slope 3.7214, intercept -4.5571, R² 0.7414, n 7 (plus a PNG chart)
Walkthrough
Six points sit close to a line and the seventh sits far above it, which is why R-squared is 0.74 rather than near 1.

Limitations

  • The regression line is always drawn; it cannot be switched off.
  • Linear fit only. No grouping by colour and no axis settings.
  • Rows with missing values are dropped from the fit.

Questions

How do I make a scatter plot from a CSV?
Enter the X and Y column names and press Process.
Does it add a trend line?
Yes, a least-squares regression line is always drawn.
Can I colour the points by group?
No. All points are drawn in a single colour.
Where do I get the regression equation?
The result lists slope and intercept for y = slope x + intercept.

Features

  • Regression overlay
  • PNG download
  • Slope, intercept, R²

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • SQL Tutorial - Full Database Course

    freeCodeCamp.org

    SQL and tabular data sit next to CSV/JSON data tools.

    Watch on YouTube
  • Machine Learning for Everybody

    freeCodeCamp.org

    Data prep context before ML-oriented helpers.

    Watch on YouTube