Skip to content

Scatter Plot Calculator

Visualize a set of (x, y) data points as a scatter plot and calculate the Pearson correlation coefficient between the two variables.

Category: math
Use Case: Data Visualization, Correlation Analysis, Statistics Homework
Privacy: 100% browser-based

8 valid points detected

Pearson Correlation (r)
0.9286
Interpretation
Very strong positive correlation

x range: 1 to 8 · y range: 3 to 10

Recommended Settings

Pro Tips

  • The Pearson correlation coefficient (r) ranges from -1 to 1 - values near 1 or -1 indicate a strong linear relationship, while values near 0 indicate little to none
  • A positive r means y tends to increase as x increases, while a negative r means y tends to decrease as x increases
  • Correlation measures the strength of a linear relationship - it won't detect strong non-linear patterns like a U-shaped curve
  • For fitting an actual trend line to your data, use the separate Linear Regression Calculator

Most Popular

Most users paste x,y data copied directly from a spreadsheet to visualize the relationship

When to Use This Tool

Data Visualization

Plot a set of paired data points to visually inspect their relationship.

Correlation Analysis

Measure how strongly two variables are related using the Pearson correlation coefficient.

Statistics Homework

Check calculated correlation values or visualize data for a statistics course.

Spotting Outliers

Visually identify data points that don't follow the overall pattern of the rest of the data.

How It Works

1

Parse each line of input into an (x, y) coordinate pair

2

Plot every point on a scatter chart with x and y axes scaled to fit the data

3

Calculate the Pearson correlation coefficient by comparing how x and y vary together relative to how much each varies on its own

4

Display a plain-language interpretation of the correlation strength and direction

100% Private

Files never leave your device. All processing happens locally in your browser.

Lightning Fast

Powered by Pearson correlation coefficient for optimal performance on modern browsers.

Open Source

Built with verified, open-source libraries. Fully transparent.

Frequently Asked Questions

What does the Pearson correlation coefficient measure?

It measures the strength and direction of a linear relationship between two variables, on a scale from -1 (perfect negative relationship) to 1 (perfect positive relationship), with 0 meaning no linear relationship.

Can correlation tell me about non-linear relationships?

No. Pearson correlation specifically measures linear relationships. Two variables can have a strong non-linear pattern (like a U-shape) while still showing a correlation coefficient close to 0.

Does correlation mean one variable causes the other?

No. Correlation only measures association, not causation. Two variables can be strongly correlated due to a third underlying factor, coincidence, or genuine causation - correlation alone can't distinguish between these.

Is my data sent to a server?

No. All calculations happen instantly in your browser using JavaScript. Nothing you enter is transmitted anywhere.

How is this different from the Linear Regression Calculator?

This tool focuses on visualizing your data and measuring how strongly two variables are related. The Linear Regression Calculator additionally fits a trend line through the data and lets you make predictions from it.