hierarchical
✓ Published1🌍 Public
A hierarchical tree diagram displays risk factors for epidemics, branching from a central root into categories such as hazard, vulnerability, and coping capacity. The visualization uses D3.js v5 with the `tree` and `hierarchy` layouts to compute node positions, and renders SVG paths via `linkHorizontal` for the connecting lines. Pan and zoom functionality is enabled through `d3.zoom`, while text labels are positioned directly on the nodes. The data originates from a local JSON file, and styled with red strokes and a serif font.
AI-generated descriptionMIT Licensed