---
title: "Scatter plot in Vista | Oplema"
description: "Make a scatter plot in Vista: plot two numeric columns against each other to see whether they move together, with a live example."
url: "https://oplema.com/docs/vista/scatter/scatter-plot"
updated: "2026-11-04"
---

# Scatter plot

Scatter plot draws one point per row, placed by two numeric columns, so you can see whether they move together. A category column can color the points.

## Compare warm days and cold drinks

Six days of temperature and cold drink sales climb together, from 10 cups at 15 °C to 45 cups at 30 °C, one point per row.

Result
| Temperature C | Cups |
| --- | --- |
| 15 | 10 |
| 18 | 15 |
| 21 | 20 |
| 24 | 30 |
| 27 | 35 |
| 30 | 45 |

1. In the Data tab, change Points from `Individual rows` to `Grouped summaries`. Each point now summarizes a group of rows.
2. Change Points back, then swap the columns in X coordinate and Y coordinate. The chart mirrors along its diagonal.
3. Open the Design tab and expand Horizontal axis to change its title or range.

## When to use

Use Scatter plot to test whether two measures move together, such as whether warmer days sell more cold drinks. It works best when you can tell the points apart. If they pile up into a cloud, use Density plot.

## Inputs

1 port

**Table**

Accepts: Tables.

Accepts one connection on this port.

## Settings

**Points**

Plots one point per row, or one point per group with calculated coordinates.

Default: `Individual rows`

Options: Individual rows, Grouped summaries.

**X coordinate**

Column on the horizontal axis. Individual rows and density plots need numbers, and grouped points can count other fields. Auto picks one with varied values.

**Y coordinate**

Column on the vertical axis. Individual rows and density plots need numbers, and grouped points can count other fields. Auto picks one with varied values.

**Color by**

Optional column that colors the points.

39 more settings

**Sort by**

Order of the plotted points: by group, X coordinate, Y coordinate or bubble size.

Default: `Default`

Options: Default, Group, X coordinate, Y coordinate, Bubble size.

**Period size**

Number of units in each period. Hours, minutes and seconds count fixed intervals from 1970-01-01 in the chart's time zone. Calendar periods follow local boundaries.

Default: `1`

**Source timezone**

IANA time zone for timestamps without an offset, such as Europe/Copenhagen. Ambiguous local times need an explicit offset.

Default: `UTC`

**Chart timezone**

IANA time zone used for grouping and display. Vista filters keep their own time zone.

Default: `UTC`

**Week starts**

Day the week starts on.

Default: `Monday`

Options: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.

**Fiscal year starts**

Month the fiscal year starts in. Sets quarter and year boundaries.

Default: `January`

Options: January, February, March, April, May, June, July, August, September, October, November, December.

**Title**

Title shown inside the chart. Leave empty to hide it.

**Title color**

Color of the title.

**Title size (Advanced title)**

Size of the title, in pixels.

Default: `24`

**Title alignment (plot)**

Alignment of the title.

Default: `Left`

Options: Left, Center, Right.

**Title (Horizontal axis)**

Title of the X axis. Leave empty to use the field names. An empty prefix or suffix uses the vertical axis formatting.

**Range**

Sets fixed limits for the value axis.

Default: `Auto`

Options: Auto, Min only, Max only, Min & max.

**Display units**

Unit for value labels. Every tick is divided by it.

Default: `None`

Options: None, Thousands (K), Millions (M), Billions (B).

**Prefix**

Text before each value label.

**Suffix**

Text after each value label.

**Label size (Advanced horizontal axis)**

Size of the X axis labels, in pixels.

Default: `12`

**Label angle (Advanced horizontal axis)**

Angle of the X axis labels. Auto turns them when they don't fit.

Default: `Auto`

Options: Auto, 0°, 45°, 90°.

**Title size (Advanced horizontal axis)**

Size of the X axis title, in pixels.

Default: `12`

**Title distance (Advanced horizontal axis)**

Extra space between the X axis labels and the title, in pixels.

Default: `4`

**Title (Vertical axis)**

Title of the Y axis. Leave empty to use the field names.

**Label size (Advanced vertical axis)**

Size of the Y axis labels, in pixels.

Default: `12`

**Label angle (Advanced vertical axis)**

Angle of the Y axis labels.

Default: `Auto`

Options: Auto, 0°, 45°, 90°.

**Title size (Advanced vertical axis)**

Size of the Y axis title, in pixels.

Default: `12`

**Title distance (Advanced vertical axis)**

Extra space between the Y axis labels and the title, in pixels.

Default: `4`

**Show tooltip**

Shows or hides values when you hover over a mark.

Default: `true`

**Tooltip**

Text shown when you hover over a mark. Write it in the editor and insert values from Values.

**Values**

Values you can insert into the text. Each row calculates a value from a source field or, in charts, shows a chart value, and can have its own number or date format.

**Tooltip dates**

How dates are written in tooltips.

Default: `Iso`

Options: Auto, Iso, Date, Datetime, Custom.

**Background**

Card background color. Auto follows the theme.

**Plot padding**

Space between the card edge and the chart, in pixels.

Default: `0`

**Grid lines**

Shows or hides grid lines.

Default: `false`

**Axis frame**

Shows or hides the axis lines around the plot.

Default: `true`

**Frame sides**

Edges of the plot that get an axis line.

Default: `Bottom & left`

Options: Bottom, Left, Bottom & left, Full box.

**Axis titles**

Shows or hides the titles on both axes.

Default: `true`

**Tick color**

Color of the axis labels.

**Axis title color**

Color of the axis titles. Auto matches the axis labels.

**Frame color**

Color of the axis lines.

**Corner radius (px)**

Corner radius in whole logical pixels.

Default: `0`

**Border width (px)**

Border width in whole logical pixels.

Default: `0`

## Scatter plot FAQs

**Does Scatter plot need numeric columns?**

For individual rows, yes: X and Y coordinates must be numeric. With Points set to Grouped summaries, a coordinate can count a non-numeric field. To plot text as numbers, convert it in Strata first, for example with Auto Field.

**How many points can a scatter plot show?**

A scatter has a mark limit. Above it the chart asks you to group the points or filter the source.

**Why do I see fewer points than my table has rows?**

Individual rows with a missing coordinate aren't plotted, and Grouped summaries draw one point per group. In the editor, previews also use a sample of each source (100 rows by default), while a published dashboard uses all rows.

### Chart your data. Build it in Vista.

Vista opens in your browser, with no account.

[Open Vista](https://oplema.com/editor?path=%2F%3Fopen%3Dvista) [About Vista](https://oplema.com/vista)
