World Countries Tree
✓ Published0🌍 Public
This example visualizes a hierarchical network of virtual components, from a root "Virtual Network" down through subnets, network security groups, and virtual machines to network interfaces and IP addresses. Using D3 v5, it renders a vertical tree layout with `d3.tree()` and `d3.hierarchy()`, drawing nodes as pink rectangles and light blue circles on an SVG canvas. The code employs `d3.linkVertical()` for edge paths and `d3.zoom()` for pan and zoom interactions. Data comes from a local `data.json` file, loaded asynchronously via `d3.json()`.
AI-generated descriptionMIT Licensed