Skip to main content
100%

Fork of D3 Tree with Multiple Parents

✓ Published0🌍 Public
Pprogrammerd3
Last edited Jul 20, 2022
Created on Jul 20, 2022

This block-and-line diagram, titled "Fork of D3 Tree with Multiple Parents," visualizes a hierarchical dataset where nodes can have multiple parent connections, as seen in the `data.json` structure. It demonstrates a modified D3 tree layout that de-duplicates shared descendants and recalculates positions to flatten overlapping branches. The visualization uses D3 v7 APIs including `d3.tree`, `d3.hierarchy`, and `d3.linkHorizontal`, with underscore.js for node uniqueness. Rendered as static SVG text labels with link strokes, it includes zoom and pan interactions via `d3.zoom`, though transitions and selection highlighting are only partially implemented in the code.

AI-generated description
MIT Licensed

Similar vizzes