Unlisted
Edited
Apr 25, 2023
Insert cell
Insert cell
Plot.plot({
caption: "Figure 1. A chart with a caption.",
marks: [
Plot.frame(),
Plot.text(["Hello, world!"], {frameAnchor: "middle"})
]
})
Insert cell
Plot.plot({
caption: html`<div>Figure 2. A chart with an <em>HTML</em> caption.`,
marks: [
Plot.frame(),
Plot.text(["Hello, world!"], {frameAnchor: "middle"})
]
})
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