Fork of Fork of Fork 1
✓ Published0🌍 Public
A static tree diagram called "Fork of Fork of Fork 1" visualizes a three-level hierarchy of car types. The root node "Car Types" branches into three transmission categories—Automatic, Manual, and Semi-Automatic—each with children representing door counts. Built with D3.js v7, the example uses `d3.tree()` and `d3.hierarchy()` to compute node positions, drawing horizontal links with `d3.linkHorizontal()`. Nodes are custom-styled: the root as a purple rectangle, depth-1 nodes as blue circles, and leaf nodes as orange diamonds. Although the code loads a CSV dataset, the displayed tree uses a hardcoded structure rather than the fetched data.
AI-generated descriptionMIT Licensed