Published
Edited
Apr 6, 2021
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
fields_root = makeHierarchy({
data: data,
groupByFns: [d => d.tag_broad, d => d.tag_medium, d => d.tag_fine],
reduceFn: v => d3.sum(v, d => (d ? 1 : 0))
})
Insert cell
Insert cell
treeHorizontal = d3.cluster().nodeSize([9, 100])
Insert cell
Insert cell
tree = d3.cluster().size([2 * Math.PI, radius - 100])
Insert cell
Insert cell
Insert cell
Insert cell
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