Fork of D3 Tree with Multiple Parents
✓ Published0🌍 Public
This example shows a tree diagram with multiple root nodes, where nodes can share parents and duplicates are removed to create a branching structure. It renders company and market data as text labels connected by horizontal links, with the most recently selected root highlighted in steelblue. The visualization uses D3 v5’s `tree` layout, `linkHorizontal` path generator, and `zoom` behavior, while manually recalculating node positions after filtering duplicates with Underscore.js. Animated transitions update node and link positions smoothly, and the data is loaded from a JSON file.
AI-generated descriptionMIT Licensed