When to use it
You want to visualize the relationship between two numeric variables.
When not to: Either variable is categorical (use a bar chart, or a boxplot split by the category), or you already need a formal, inferential statement about the relationship (a correlation test or regression, with a confidence interval and assumption checks, rather than the descriptive trend line this plot shows).
Step by step
Open it from the menu
Click Graphs in the menu bar; under Bivariate choose Scatter Plot.
Fill in the form
Choose the columns: Across (horizontal axis), Up (vertical axis), Color points by (optional). The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Show trend line. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| Across (horizontal axis) X required | One numeric column. A number column, along the bottom of the chart. |
|---|---|
| Up (vertical axis) Y required | One numeric column. A number column, up the side. Each row becomes one point. |
| Color points by (optional) Color | One categorical or ordered categorical column. A category column with at most 12 groups, so each group's points get their own color. |
| Show trend line | Draws the straight line that fits the points best (least squares). Not sure? Keep it on. It shows the overall direction at a glance. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
A worked example
A scatter plot of body mass against flipper length across 342 penguins, with a trend line.
Result: Pearson r = 0.87, R-squared = 0.76, trend line y = 49.7x - 5780; the cloud shows a clear upward trend with some visible spread by species.
The strong, tight upward cloud confirms a strong positive linear relationship worth quantifying formally, though the visible spread suggests checking whether species is a meaningful third variable (perhaps worth coloring the points by species) before treating the pooled trend line as the complete picture.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Is there a relationship between height and weight?
- Explain the scatter plot in plain words.
- What does outliers mean?
Last reviewed November 16, 2026.
