Skip to main content
100%

Fork of D3 Tree with Multiple Parents

✓ Published0🌍 Public
AAnkitha B H
Last edited Nov 15, 2023
Created on Nov 15, 2023

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 description
MIT Licensed

Similar vizzes