Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Observable Plot Scatterplot

Public visualization

Viewing a saved revision (read-only)

1efcffe36fb1438c819108743ecad86c

Observable Plot Scatterplot

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

This example uses Observable Plot to render a scatterplot of penguin measurements, with flipper length on the x-axis and body mass on the y-axis. The plot includes a grid, an inset margin, and automatically sizes to fit its container. The code imports the `Plot` library and a penguins dataset, then calls `Plot.plot` with a `Plot.dot` mark to visualize the data.

AI-generated description

This example was ported from Observable: Scatterplot.