Published unlisted
Edited
Sep 7, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
A = (facet) =>
Plot.plot({
facet,
marginRight,
x: { nice: true, labelAnchor, labelOffset },
[facet.y ? "fy" : null]: { axis: "right" },
marks: [
Plot.tickX(data, { x: "body_mass" }),
Plot.frame({stroke:"orange"})
]
})
Insert cell
html`<style>.plot { overflow: visible; border: 1px solid lightblue; }`
Insert cell
import {data} from "@observablehq/plot-exploration-penguins"
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