Public
Edited
Oct 12, 2022
1 star
Insert cell
Insert cell
Insert cell
pixel = {
const ctx = DOM.context2d(1, 1, 1);
ctx.fillStyle = color;
ctx.fillRect(0, 0, 1, 1);
ctx.canvas.style.transform = "scale(10)";
return ctx.canvas;
}
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