Skip to main content
100%

M.Bostock Radial Tidy Tree Example

✓ Published0🌍 Public
KKai Stewart
Last edited Dec 2, 2021
Created on Nov 30, 2021

This example shows a radial tidy tree visualization of the Flare software package’s class hierarchy, with leaves labeled by class name and internal nodes marked by darker circles. The code uses d3.stratify to convert CSV data into a hierarchy and d3.tree with a radial layout, rendering links as SVG paths via d3.linkRadial. Node positions are computed with trigonometric functions, and text labels are rotated and anchored based on their angular position. The visualization is drawn entirely in SVG using D3 v4.

AI-generated description

A reproduction of M.Bostock's radial tidy tree for use as a forking template for future work.

MIT Licensed

Similar vizzes