Public
Edited
Jun 8, 2023
1 fork
2 stars
Insert cell
Insert cell
Insert cell
Plot.dot(penguins, {x: "body_mass_g", y: "culmen_length_mm"}).plot({width: _width})
Insert cell
Plot.dot(penguins, {x: "body_mass_g", y: "culmen_length_mm"}).plot({style: {width: _width + "px"}})
Insert cell
Insert cell
Insert cell
Plot.dot(penguins, { x: "body_mass_g", y: "culmen_length_mm" }).plot({
width: Math.min(Math.max(_width2, 320), 640),
style: { width: Math.min(_width2, 640) + "px" }
})
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