Fork of ice82
✓ Published0🌍 Public
This fork of ice82 presents a small hierarchical dataset of world population as a toggleable view. The **Tree View** uses `d3.hierarchy`, `d3.tree`, and `d3.linkHorizontal` to draw a tidy node-link diagram, with circle size mapping to population values. The **Network View** instead employs `d3.forceSimulation` with `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to create an interactive, draggable graph. Both views render to SVG and encode root, region, and country nodes with distinct colors.
AI-generated descriptionMIT Licensed