Viewing a saved revision (read-only)
15be1f99b8254fe69d18f686ce673134
Fork of RADIAL TREE 2
A fork of Curran Kelleher’s World Countries Hierarchy block, this radial tree visualization displays the hierarchical structure of the Flare dataset, with each node labeled and leaves as small circles. Built with D3 v4, it uses `d3.tree()` with a radial size, renders SVG paths for links, and supports panning and zooming. The code employs `d3.csv` to load the data, `d3.hierarchy` to construct the tree, and `d3.linkHorizontal` with a custom `radialPoint` function for positioning, with node labels automatically rotated and anchored based on their angle.
AI-generated descriptionRadial Tree Visualization of Countries Hierarchy. Has Panning and Zooming interaction.
Adapted from Curran Kelleher’s Block "World Countries Hierarchy".