Published unlisted
Edited
Mar 6, 2019
1 star
Insert cell
Insert cell
{
const hello = html``;
Runtime.load(notebook1, (variable) => {
if (variable.name === "canvas") return {
fulfilled: (value) => {
while (hello.firstChild) {
hello.removeChild(hello.firstChild);
}
hello.appendChild(value);
}
};
});
return hello;
}
Insert cell
notebook1 = (await importModule("https://api.observablehq.com/@mbostock/fullscreen-canvas.js")).default
Insert cell
Runtime = (await require('@observablehq/runtime')).Runtime
Insert cell
import {importModule} from '@bryangingechen/dynamic-import-polyfill'
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