Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Observable Plot Scatterplot with Color

Public visualization

Viewing a saved revision (read-only)

e8734d506c7948338728b072a0dc2c07

Observable Plot Scatterplot with Color

0 stars0🌍 Public
CCurran Kelleher
Last edited Jan 22, 2024
Created on Jan 22, 2024

This example displays a scatterplot of penguin measurements, with each dot positioned by flipper length and body mass, and colored by species. Built using Observable Plot’s `Plot.plot` API, it renders dots via `Plot.dot` and includes a legend, grid, and margins configured through the `color` and `inset` options. The chart reads data from the `@curran/penguins` package and dynamically resizes to its container’s dimensions.

AI-generated description

This example was ported from Observable: Scatterplot with color.