Public
Edited
Nov 24, 2022
Insert cell
Insert cell
viewof maxLayers = Inputs.range([4, 14], {step: 1, value: 6, label: "Max Layers"})
Insert cell
viewof maxSpans = Inputs.range([2, 20], {step: 1, value: 5, label: "Max Spans"})
Insert cell
Insert cell
role_count = nodes.length;
Insert cell
Insert cell
Insert cell
Insert cell
data = generate(0, 0, 1000);
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
nodes = root.descendants()
Insert cell
width = 1000;
Insert cell
height = 800;
Insert cell
radius = Math.min(width, height) / 2
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require("https://d3js.org/d3.v6.min.js")
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