🌍 Public
Viewing a saved revision (read-only)
c23442058de447808c5fbbfd17ba8a86
Tree Graph
This example shows the hierarchical structure of the Kader family as a tree diagram, with the root node at the top and descending branches and leaves. It uses D3.js v7’s `d3.tree()` and `d3.hierarchy()` to compute the layout, and renders the nodes as SVG shapes that vary by depth—circles, rectangles, rotated diamonds, and small circles—to visually distinguish family generations. Connecting links are drawn with `d3.linkHorizontal()`, and the tree is styled with a nature-inspired color palette. The input is a hardcoded JavaScript object representing the family tree.
AI-generated description