Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Tree with Multiple Parents

Public visualization

Fork of D3 Tree with Multiple Parents

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed