Public
Edited
May 10, 2023
1 fork
1 star
Insert cell
Insert cell
Plot.plot({
y: {
grid: true
},
marks: [
Plot.rectY(
olympians,
Plot.binX(
{
y: "count",
fill: test
},
{ x: "weight" }
)
),
Plot.ruleY([0])
]
})
Insert cell
Insert cell
test = (bin) => bin.some((d) => d.name === "Aaron Brown")
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