Public
Edited
May 4, 2023
5 stars
Insert cell
Insert cell
Plot.plot({
x: {
interval: 1
},
marks: [
Plot.barY(dt, {x: "x", y: "y", fill: "u"}),
Plot.ruleY([0])
]
})
Insert cell
dt = aq.table({
u: ['a', 'a', 'b', 'b'],
x: Int32Array.of(1, 2, 3, 4),
y: Float64Array.of(5, 6, 7, 8)
})
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