Fork of ICE 8 Family Tree
✓ Published0🌍 Public
This example renders a hierarchical family tree as an interactive SVG visualization using D3.js v5 within a React framework. The tree layout positions nodes by depth, with colored labels—crimson root, orange children, indigo grandchildren, and blue leaves—displayed in a brush script font. The code uses `d3.tree`, `d3.hierarchy`, and `d3.linkHorizontal` to generate the structure and paths, while `d3.zoom` enables panning and scaling. Data comes from a local `data.json` file, and white text shadows improve label readability against the black link strokes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed