Family Tree Loki ICE 8
✓ Published0🌍 Public
This example displays an interactive family tree using a D3.js hierarchical layout, loading relationships from a JSON file and rendering them as an SVG with animated node expansion. The code uses `d3.layout.tree` to compute node positions, with custom tooltips and zoom/drag behavior via `d3.behavior.zoom`. Distinct node types are color-coded (blue, green, yellow, purple) based on the `type` field, and links include directional arrows. The visualization is built with D3 v3 and jQuery, demonstrating recursive tree traversal and dynamic sizing of the SVG container.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed