Public
Edited
Feb 28, 2023
Insert cell
Insert cell
sample.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Plot.plot({
marginLeft: 60,
marginRight: 40,
x: {
grid: true,
label: "Message Counts",
type: "log",
transform: d => Math.max(d, 1),
domain: [1e0, 1e4],
},
y: {
type: "band",
label: "Destinations"
},
marks: [
Plot.barX(data, Plot.groupY({x: d => d.length}, {y: "dest", sort: {y: "x", reverse: true}}))
]
})
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