Skip to main content
100%

Fork of ice82

✓ Published0🌍 Public
Ssdarsi2404@gmail.com
Last edited Apr 9, 2025
Created on Apr 9, 2025
Forked from ice82

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 description
MIT Licensed

Similar vizzes