Skip to main content
100%

Section 2A -Visualizing tree

✓ Published2🌍 Public
SSYAM TEJ
Last edited Nov 9, 2025
Created on Nov 9, 2025
Forked from HTML Starter

This example visualizes a hierarchical corporate cloud infrastructure as a tree, with nodes representing data centers, servers, databases, and services. The visualization uses D3 v7’s `d3.tree()` layout to position nodes, with shapes varying by data type—circles for databases, rectangles for services, and polygons for other components. Hovering over a node triggers a tooltip displaying the component’s name, type, CPU usage, and memory usage. Links between nodes are drawn as vertical paths using `d3.linkVertical()`, and the entire tree is rendered as SVG with metadata including CPU and memory values for each node.

AI-generated description
MIT Licensed

Similar vizzes