D3 Hierarchy Component 1
✓ Published1🌍 Public
This example displays a hierarchical tree of tasks, branching from a root "Tasks" node into categories like "Main Goal," "Health," and "Awards," with sub-goals such as "Programming," "Cardio," and "Pizza." The visualization uses a D3.js horizontal tree layout, rendered as an SVG, with nodes positioned via a tree algorithm and connected by green path links. The code loads data from a JSON file, employs a custom `hierarchy` component, and uses `linkHorizontal` for path generation, with zoom functionality enabled through D3's zoom module. Text labels are styled with the Poppins font, with compound and leaf nodes distinguished by font size and text anchor.
AI-generated descriptionD3 Forces.
MIT Licensed