Public
Edited
Jun 23, 2023
6 forks
16 stars
Insert cell
Insert cell
chart = Plot.plot({
height: 760,
marginTop: 30,
width,
axis: null,
x: {axis: "bottom", label: "Time (ms) →"},
y: {domain: [0, d3.max(pulsar, ([, y]) => y) / 16]},
marks: [Plot.lineY(pulsar, {x: "0", y: "1", fy: "2", fill: "white", stroke: "currentColor", strokeWidth: 1})]
})
Insert cell
pulsar = (await FileAttachment("pulsar.csv").csv({typed: true, array: true}))
.flatMap((Y, z) => Y.map((y, x) => [x * 92 / 299, y, z]))
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