🌍 Public
Viewing a saved revision (read-only)
734c9bc093e141179c79cc1bcce3a191
Ice_8_q2_tree
This simple static tree visualization displays a three-level hierarchy of programming languages, grouped into Procedural, Object-Oriented, and Scripting categories. Using d3.hierarchy and d3.tree, the layout computes x and y positions for all nodes, which are rendered as color-coded circles (red, blue, green) based on depth in the SVG. Links between nodes are drawn as gray lines, and each node is labeled with its language or category name. The example demonstrates a basic D3 v7 tree layout with data defined inline in JavaScript.
AI-generated description