Public
Edited
Mar 1, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot.plot({
marginRight: 60,
marginLeft: 60,
y: {
grid: true,
label: "Pace",
reverse: true,
},
marks: [
Plot.ruleY([0]),
Plot.lineY(data, {x: "Day Number", y: "Pace (mi)", stroke: "Type"}),
Plot.text(data, Plot.selectLast({x: "Day Number", y: "Pace (mi)", z: "Type", text: "Type", textAnchor: "start", dx: 3}))
]
})
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