Fork of D3 Tree with Multiple Parents
✓ Published0🌍 Public
This example visualizes a hierarchical tree with multiple parent relationships, using a custom dataset of interconnected topics like “Government of the United States” and “Market” that share children such as “Supply and demand.” The layout positions nodes by depth and re-calculates x-coordinates for unique nodes using `_.uniq`, while links are redrawn with `d3.linkHorizontal`. Built with D3 v5, it renders as SVG text nodes and animated paths, supports zooming via `d3.zoom`, and loads data from a JSON file.
AI-generated descriptionMIT Licensed