Public
Edited
Oct 4, 2023
Insert cell
Insert cell
data = FileAttachment("barley.json").json({typed: true})
Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
viewof bins = Inputs.range([10, 70], {step: 10, label: "Bins"})
Insert cell
Plot.plot({
marks: [
Plot.ruleY([0]),
Plot.rectY(data, Plot.binX({y: "sum"}, {x: "yield", thresholds: bins}))
]
})
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