Public
Edited
Feb 6, 2023
Insert cell
Insert cell
data = [
{
id: 1,
date: new Date("2019"),
href: "https://groundhog-day.com/predictions?year=2019"
},
{
id: 2,
date: new Date("2020"),
href: "https://groundhog-day.com/predictions?year=2020"
}
]
Insert cell
Plot.plot({
marks: [
Plot.tickX(data, {
x: "date",
stroke: "id",
strokeWidth: 10,
href: "href",
target: "_blank"
})
]
})
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.voronoi(data, {
x: "date",
fill: "id",
href: "href",
target: "_blank"
})
]
})
Insert cell
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