🌍 Public
Viewing a saved revision (read-only)
e8734d506c7948338728b072a0dc2c07
Observable Plot Scatterplot with Color
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 descriptionThis example was ported from Observable: Scatterplot with color.