🌍 Public
Viewing a saved revision (read-only)
10fcd3498ceb4ee9bcbb4e672bf5a194
Fork of tree
This example presents a hierarchical tree of programming languages, grouped into families like C Family, Scripting Languages, and Functional Languages, with nested relationships such as C++ leading to C# and Java. It uses the D3.js v7 library with a `d3.tree` layout on a `d3.hierarchy` object, rendering nodes as circles colored by depth via `d3.scaleOrdinal`. Links are drawn as horizontal paths using `d3.linkHorizontal`, with text labels positioned next to each node. The visualization is built with SVG and includes static sample data defined in the script.
AI-generated descriptionMIT Licensed