Fork of Tree_hd
✓ Published0🌍 Public
This example shows a hierarchical tree of programming paradigms—object-oriented, functional, and procedural—with nested subcategories leading to specific languages. Node shapes encode depth: a star marks the root, diamonds level 1, triangles level 2, and squares level 3 leaves. The code uses `d3.hierarchy` and `d3.tree` to compute the layout, `d3.linkVertical` for curved links, and SVG paths for custom node shapes. A legend clarifies the shape-to-level mapping, while an ordinal color scale differentiates depths.
AI-generated descriptionMIT Licensed