Fork of Fork of Network Graph
✓ Published0🌍 Public
This example shows a manually created hierarchical tree of diabetes data, grouping patients by age range and displaying binary outcomes as colored nodes. Blue and red circles represent outcome 0 and 1, while gray marks the root and branch nodes. Using d3.hierarchy and d3.tree, the layout positions nodes, with d3.linkHorizontal drawing curved paths for links. The SVG rendering applies fill colors based on the data type and positions labels with adjusted text anchors.
AI-generated descriptionMIT Licensed