Graphs · Bivariate

Scatter Plot

Scatter plot of two continuous variables with an optional trend line and an optional column that colors the points by group.

In the menus Graphs › Bivariate › Scatter Plot

Also searched as scatter scatterplot scatter plot xy plot x y plot scatter chart plot two variables

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

  1. Open it from the menu

    Click Graphs in the menu bar; under Bivariate choose Scatter Plot.

  2. 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.

  3. Check the options

    The options start at their defaults: Show trend line. Change one only when your question needs it.

  4. Run the analysis

    Press Run analysis. The Result Card opens on its Results tab.

What to choose in the form

Fields of the Scatter Plot form
Across (horizontal axis) X requiredOne numeric column. A number column, along the bottom of the chart.
Up (vertical axis) Y requiredOne numeric column. A number column, up the side. Each row becomes one point.
Color points by (optional) ColorOne categorical or ordered categorical column. A category column with at most 12 groups, so each group's points get their own color.
Show trend lineDraws 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.

Report an unclear step