Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

Scatter Chart Creator

Enter X/Y data points and create scatter charts with trend lines, multiple series, and customizable styling

Your files never leave your browser

Chart Options

6

Data Series

#XY
Ready·0 points

Drop your X and Y values into the table, pick a point color, and get a scatter chart on screen in seconds — no Excel axis wrestling required. Add multiple series to compare data sets side by side, toggle trend lines to check for correlation, and download the finished plot as a PNG. And everything runs in your browser. Nothing gets uploaded.

How It Works

Enter X,Y Data
→
Canvas Renders Points
→
Download PNG

You type X and Y values into a table — one pair per row. The tool reads those numbers, calculates the axis ranges, and draws each point on an HTML5 canvas. If you turn on trend lines, it runs a least-squares linear regression and overlays the best-fit line along with the R² coefficient. The final chart renders at 800×500 pixels by default, ready for reports or slide decks.

Examples

Study Hours vs. Exam Score

A teacher wants to show students that more study time actually correlates with better grades.

INPUT
X (Hours): 2, 4, 5, 7, 8, 10 Y (Score): 55, 62, 68, 78, 82, 91
OUTPUT
Scatter plot with upward trend Trend: y = 4.3x + 47.1 R² = 0.98

Ad Spend vs. Revenue (Two Campaigns)

Comparing Facebook and Google ad performance on the same axes. Two series, two colors — one chart tells the whole story.

INPUT
Series 1 (Facebook): 500→3200, 1000→5800, 1500→7100, 2000→9500 Series 2 (Google): 500→2800, 1000→6200, 1500→8400, 2000→11000
OUTPUT
Two-series scatter plot Blue dots (FB): R² = 0.99 Red dots (Google): R² = 0.98 Google shows steeper ROI slope

No Correlation Check — Sleep vs. Shoe Size

Quick sanity check to confirm two variables aren’t related at all.

INPUT
X (Sleep hrs): 6, 7, 5, 8, 6, 9 Y (Shoe size): 10, 8, 11, 9, 10, 8
OUTPUT
Scattered dots with no pattern R² = 0.04 (basically zero)

Who Uses This

📊 Data Analysts

Quick correlation check on two variables without opening Python or R.

🎓 Students

Plotting lab results for science reports — height vs. weight, voltage vs. current, that kind of thing.

📈 Marketers

Visualizing spend vs. conversions to figure out which channel actually pays off.

👩‍🔬 Researchers

Generating publication-ready scatter plots from experiment data in seconds.

Common Mistakes

Entering text instead of numbers

If a cell contains “N/A” or a word, that row gets skipped silently. Replace blanks or text with actual numeric values — or delete the row entirely.

Mismatched X and Y counts

Every X value needs a matching Y. If you have 10 X values but only 8 Y values, those last two points won’t plot. Double-check your row count before wondering why dots are missing.

Trusting a high R² without looking at the chart

An R² of 0.95 looks great — until you see the points form a curve, not a line. Always eyeball the scatter plot. A trend line only measures linear fit, and data that curves can still produce a misleadingly high number.

Technical Details

Frequently Asked Questions

What is a scatter plot used for?

A scatter plot shows how two numeric variables relate to each other. Each dot is one data point — X position for one variable, Y for the other. You can spot correlations, clusters, and outliers at a glance. It’s the go-to chart when you’re asking “does A affect B?”

How do I add a trend line to my scatter chart?

Toggle the trend line option in the chart settings. The tool calculates a least-squares linear regression and draws the best-fit line across your data. You’ll also see the R² value so you know how strong the linear relationship is.

What does R-squared mean on a scatter plot?

R² tells you how much of the variation in Y is explained by X. A value of 1.0 means every point sits exactly on the trend line. Something around 0.7 or higher usually signals a strong linear relationship. Below 0.3? The variables probably aren’t linearly connected.

Can I plot multiple data sets on one scatter chart?

Yes. Click “Add Series” and each set gets its own color and data table. All series share the same axes, so comparing groups is straightforward. Each can have its own trend line too.

Is my data stored or uploaded anywhere?

No. The chart renders entirely in your browser with JavaScript and the Canvas API. Nothing leaves your device — no server calls, no cookies, no tracking. Once you close the tab, the data is gone unless you saved the PNG.

Share: