Public
Edited
Jul 3, 2024
2 stars
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.dot(penguins, {
x: "culmen_length_mm",
y: "culmen_depth_mm",
symbol: {
draw(context, size) {
const l = size / 3;
const x = l * Math.cos(Math.PI / 6);
const y = l * Math.sin(Math.PI / 6);
context.moveTo(0, -l);
context.lineTo(0, l);
context.moveTo(-x, -y);
context.lineTo(x, y);
context.moveTo(x, -y);
context.lineTo(-x, y);
context.closePath();
}
}
})
]
})
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