Published
Edited
Oct 1, 2021
Insert cell
Insert cell
Plot.plot({
facet: {
data : mpg,
x: "class"
},
marks: [
Plot.dot(mpg, {x: "displ", y: "hwy", stroke: "#bdbdbd", strokeWidth: 1}),
Plot.dot(mpg, {filter: (d) => d.manufacturer === "audi", x: "displ", y: "hwy", fill: "steelblue"}),
[Plot.frame()]
]
})
Insert cell
Insert cell
Insert cell
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