Public
Edited
Jun 23, 2023
Insert cell
Insert cell
Plot.plot({
axis: null,
color: {domain: [94 + offset, 195 + offset]},
marks: [
Plot.contour(volcano.values, {
width: volcano.width,
height: volcano.height,
fill: (d) => d + offset,
stroke: "currentColor",
interval: 5
})
]
})
Insert cell
offset = Math.round((now / 200) % 10 * 1000) / 1000
Insert cell
volcano = FileAttachment("volcano.json").json()
Insert cell
now
Insert cell
start= Date.now()
Insert cell
stop=Date.now(),
diff=stop-start;
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