Unlisted
Edited
Apr 4, 2023
Insert cell
Insert cell
Plot = require(await FileAttachment("plot.umd.js").url())
Insert cell
data = penguins
Insert cell
Insert cell
data
X
culmen_length_mm
Y
culmen_depth_mm
Color
Size
sex
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
chart = Plot.auto(data, {
x: "culmen_length_mm",
y: "culmen_depth_mm",
size: "sex"
}).plot()
Insert cell
chart.warnings
Insert cell
Insert cell
data
X
culmen_length_mm
Y
min
Color
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
data
X
culmen_length_mm
Y
count
Color
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more