Scatter Plot Maker
Plot two CSV columns as a scatter chart with optional regression overlay.
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
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?
Does it add a trend line?
Can I colour the points by group?
Where do I get the regression equation?
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 YouTubeMachine Learning for Everybody
freeCodeCamp.org
Data prep context before ML-oriented helpers.
Watch on YouTube
- Introducing JSON
json.org
JSON grammar for data format converters.
- Data Index
Math is Fun
Stats explainers when summarizing columns.