Public
Edited
Aug 24, 2023
Insert cell
Insert cell
function PlotRecurse(options, level) {
return Plot.plot(
level > 0
? { ...options, subtitle: PlotRecurse({...options, height: options.height / 2, title: undefined}, --level) }
: options
);
}
Insert cell
PlotRecurse({
title: "Penguins",
height: 1000,
marks: [Plot.dot(penguins, {x: "body_mass_g", y: "culmen_length_mm"})]
}, 4)
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