Skip to main content
100%

Radial Tidy Tree

✓ Published0🌍 Public
FFrissAnalytics
Last edited Oct 4, 2018
Created on Apr 10, 2017

This example presents a radial tidy tree visualization of the Flare class hierarchy, arranging nodes in concentric circles around a central root. The code uses the `d3.tree` layout with a radial size of 360 degrees, projecting Cartesian coordinates to polar form via a custom `project` function. Data is loaded from `flare.csv` and processed with `d3.stratify` to establish parent-child relationships. Nodes are rendered as SVG circles with labels, connected by curved cubic Bezier paths using `d3.csv` for data ingestion and the `enter` selection pattern for element creation.

AI-generated description

The d3.tree layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.’s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

Compare to this Cartesian layout.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4063550'>Radial Tidy Tree</a>

gpl-3.0 Licensed

Similar vizzes