Fork of D3 Tree with Multiple Parents
✓ Published0🌍 Public
This visualization shows a hierarchical tree structure in which multiple parent nodes can share the same child, as demonstrated by two top-level categories both linking to common descendants like “Supply and demand” and “Laborer.” It uses D3 v5’s `stratify` and `tree` layouts to convert flat JSON data into a dendrogram, rendering nodes as text labels and edges as horizontally curved `linkHorizontal` paths. The SVG canvas supports zooming via D3’s `zoom` behavior, and text styling relies on the Playfair Display font with a white shadow for readability.
AI-generated descriptionMIT Licensed