Public
Edited
Jan 15, 2024
Insert cell
{
const data = [
{ start: "2021-01", name: "hello" },
{ start: "2024-01", name: "bye" }
];
return Plot.plot({
height: 250,
x: { type: "point", grid: true },
marks: [
Plot.ruleY([0]),
Plot.dotX(data.map((d) => d.start)),
Plot.axisX({ anchor: "bottom", label: "Start Date" }),
Plot.text(data, { x: "start", dy: -50, text: "name" })
]
});
}
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