Scatter Plot Generator - Create XY Charts Online

Visualize correlations with instant scatter plots

Enter Data Points

X Value Y Value
Quick Import (CSV/Text)

Format: X, Y (one pair per line). Accepts comma, tab, or space as separator.

Your Scatter Plot

0
Points
Correlation (r)
R² Value
Mean X
Mean Y
Slope

How to Use This Tool

Creating a scatter plot to visualize relationships between two variables is simple:

  1. Enter your data — Input X and Y values for each data point. Add more points as needed.
  2. Quick import — For bulk data, use the Quick Import feature to paste comma-separated X,Y pairs.
  3. Customize — Adjust point color, size, toggle the trend line and grid.
  4. Analyze — View the correlation coefficient, R² value, and regression equation.
  5. Export — Download as PNG or SVG, or copy the data to clipboard.

Understanding Scatter Plots

What is a Scatter Plot?

A scatter plot (also called a scatter diagram or XY chart) displays the relationship between two numerical variables. Each point represents one observation, with its position determined by its X and Y values.

Correlation Coefficient (r)

The correlation coefficient measures the strength and direction of the linear relationship:

  • r = +1: Perfect positive correlation (as X increases, Y increases)
  • r = 0: No linear correlation
  • r = −1: Perfect negative correlation (as X increases, Y decreases)
  • |r| > 0.7: Strong correlation
  • 0.3 < |r| < 0.7: Moderate correlation
  • |r| < 0.3: Weak correlation

R² (R-Squared)

R² indicates how much of the variance in Y is explained by X. An R² of 0.85 means 85% of the variation in Y can be predicted from X using the linear model.

Linear Regression

The trend line shows the best-fit line through your data points, expressed as y = mx + b where m is the slope and b is the y-intercept. This line minimizes the sum of squared distances from each point to the line.

When to Use Scatter Plots

  • Exploring relationships between two continuous variables
  • Identifying trends, clusters, or outliers
  • Checking for linear vs. non-linear relationships
  • Visualizing correlation strength before deeper analysis

Examples

Study Hours vs. Test Scores

Track how study time affects test performance:

Hours, Score
1, 52
2, 58
3, 65
4, 71
5, 78
6, 82
7, 88

Temperature vs. Ice Cream Sales

Explore seasonal business correlations:

Temp(°F), Sales($)
65, 120
70, 180
75, 220
80, 310
85, 420
90, 480

Privacy & Limitations

  • All calculations run entirely in your browser -- nothing is sent to any server.
  • Results are estimates and may vary based on actual conditions.

Related Tools

Related Tools

View all tools

Scatter Plot Generator FAQ

What is Scatter Plot Generator?

Scatter Plot Generator is a free utility & everyday tool that helps you Create scatter plots from XY data with trend lines and correlation analysis.

How do I use Scatter Plot Generator?

Enter your input values, review the calculated output, and adjust inputs until you reach the result you need. The result updates in your browser.

Is Scatter Plot Generator private?

Yes. Calculations run locally in your browser. Inputs are not uploaded to a server by default, and refreshing the page clears session data.

Does Scatter Plot Generator require an account or installation?

No. You can use this tool directly in your browser without sign-up or software installation.

How accurate are results from Scatter Plot Generator?

This tool applies standard formulas or deterministic processing logic for estimates. For medical, legal, tax, or investment decisions, verify with a qualified professional.

Can I save or share outputs from Scatter Plot Generator?

You can bookmark this page and copy outputs manually. Results are not persisted in your account and are typically not embedded in the URL.

Request a New Tool
Improve This Tool