Public
Edited
Aug 10, 2023
Insert cell
Insert cell
Insert cell
Plot.plot({
inset: 8,
grid: true,
width: 1000,
x: {label: "date"},
y: {label: "% contraction"},
color: {
legend: true,
},
marks: [
Plot.dot(data2, {x: (d) => d[0], y: (d) => d[1]}),
Plot.crosshair(data2, {x: d => d[0], y: (d) => d[1]})
]
})
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