Published
Edited
May 24, 2021
Insert cell
Insert cell
Plot.dot(data, { x: 'i', y: 'diff' }).plot()
Insert cell
Insert cell
data = Array(100).fill(0)
.map((_, i) => ({ i, rev: reverse(i) }))
.map(obj => ({ ...obj, diff: obj.rev - obj.i }))
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

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