Public
Edited
Jan 4, 2024
Insert cell
Insert cell
transactions@1.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
Plot.plot({
marginLeft: 60,
marginRight: 150,
width: 1000,
label: null,
x: {label: "Frequency"},
y: {padding: 0},
marks: [
Plot.barX(transactions.filter(d => d.category === 'Coffee'), {fy: "name", y: "count", x: 1, inset: 0, fill: "amount"}),
Plot.ruleX([0])
]
})
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