Published
Edited
Mar 13, 2021
1 fork
Importers
5 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
var height = 200;
const canvas = DOM.canvas(width, height);
let ctx = canvas.getContext("2d");
// THIS IS THE FUNCTION ON DISPLAY
drawEmojiCircle(ctx, cx, cy, r, "😬");

ctx.beginPath();
ctx.arc(cx,cy,r,0,Math.PI*2);
ctx.lineWidth = 20;
ctx.stroke();

return canvas;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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