Published
Edited
Jan 24, 2022
2 stars
Insert cell
Insert cell
Insert cell
diagonal = d3.linkHorizontal().x(d => d.y).y(d => d.x)
Insert cell
tree = d3.tree().nodeSize([dx, dy])
Insert cell
data = FileAttachment("trie.flat.json").json()
Insert cell
dx = 10
Insert cell
dy = width / 6
Insert cell
margin = ({top: 10, right: 120, bottom: 10, left: 40})
Insert cell
scale = d3.scaleLinear()
.domain([1, 5])
.range([1, 1000]);
Insert cell
d3 = require("d3@6", "d3-scale")
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