Public
Edited
Nov 15, 2023
2 forks
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
olympians
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Plot.plot({
width,
marginBottom: 80,
x: {
tickRotate: -30,
},
marks: [
Plot.barY(olympians, Plot.groupX({ y: "count" }, { x: "sport", tip: true})),
Plot.ruleY([0])
]
})
Insert cell
Plot.plot({
marks: [
Plot.rectY(
olympians,
Plot.binX({ y: "count" }, { x: "weight", fill: "sex" })
),
Plot.ruleY([0])
]
})
Insert cell
olympians
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