https://observablehq.com/@mbostock/zoomable-sunburst@343
View this notebook in your browser by running a web server in this folder. For example:
python -m SimpleHTTPServerOr, use the Observable Runtime to import this module directly into your application. To npm install:
npm install @observablehq/runtime@4
npm install https://api.observablehq.com/@d3/zoomable-sunburst.tgz?v=3Then, import your notebook and the runtime as:
import {Runtime, Inspector} from "@observablehq/runtime";
import define from "@mbostock/zoomable-sunburst";To log the value of the cell named “foo”:
const runtime = new Runtime();
const main = runtime.module(define);
main.value("foo").then(value => console.log(value));