Unlisted
Edited
Apr 20, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Plot.plot({
facet: {marginRight: 80},
grid: true,
marks: [
Plot.frame(),
Plot.dot(penguins, {x: "culmen_length_mm", y: "culmen_depth_mm", fx: "sex", fy: "species"}),
Plot.axisX({color: "red", anchor, facetAnchor: facetAnchor === "auto" ? undefined : facetAnchor}),
Plot.axisFx({color: "green", anchor: anchor === "top" ? "bottom" : "top"}) // place fx axis opposite x
]
})
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