Public
Edited
May 29, 2023
3 forks
1 star
Insert cell
Insert cell
Plot.plot({
grid: true,
marks: [
Plot.dot(olympians, {
x: "weight",
y: "height",
fy: "sex",
sort: (d) => !!d.info,
stroke: (d) => d.info ? "currentColor" : "#aaa"
}),
Plot.tip(olympians, Plot.pointer({
x: "weight",
y: "height",
fy: "sex",
filter: (d) => d.info,
title: (d) => [d.name, d.info].join("\n\n")
}))
]
})

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