Dot

Scatter plots and dot plots with point marks, size encoding, and color-encoded categories.

Use dots to show the relationship between two numeric variables, or to mark individual data points.

Scatter plot

Two numeric axes, one dot per observation:

Categorical color

Map fill to a string field for categorical grouping:

Sequential color

Map fill to a numeric field for a gradient. See Color for customizing the range:

Properties

FieldTypeDefaultDescription
rnumberthemeCircle radius in pixels (defaults to the theme's dotRadius).
label{ field: string; format?: string }Label each point using the named data field.

On this page