Observable Plot Scatterplot with Color
✓ Published0🌍 Public
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.
MIT Licensed