ICE_8_Tree_Chart
✓ Published2🌍 Public
This example displays a hierarchical military organization as an animated tree chart, starting from a King and branching down through Ministers, Leaders, and individual unit types such as Spear Men and Archers. The visualization uses D3.js version 3.5.17 with the `d3.layout.tree` and `d3.svg.diagonal` APIs to position nodes and draw links, while SVG rectangles and text elements represent each role. The chart updates with a 700-millisecond transition when nodes are clicked, allowing users to collapse and expand branches. Data is embedded as a JavaScript array, with the entire tree rendered on a gray background.
AI-generated descriptionMIT Licensed