Public
Edited
Nov 28, 2023
Insert cell
Insert cell
Insert cell
treeSources = {
return {
key: 1,
child: [{
key: 2,
child: [
{ key: 2, child: null },
{ key: 2, child: null },
]
},
{ key: 3, child: null },
{ key: 3, child: null }
]}
}
Insert cell
canvas1 = {
const context = DOM.context2d(width, 200);
context.fillStyle = "hsl(216deg 100% 13%)";
context.fillRect(0, 0, width, 200);
return context.canvas;
}
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