Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE8-Tree graph

Public visualization

Viewing a saved revision (read-only)

34f7b7021c4c4fc294dc7c7dbba9b314

Fork of ICE8-Tree graph

0 stars0🌍 Public
AAnkit Kaushal
Last edited Jul 5, 2024
Created on Jul 5, 2024
Forked from ICE8-Tree graph

This example shows a hierarchical tree visualization of COVID-19 data, with branches for continents, countries, and leaf nodes displaying cumulative confirmed cases, deaths, and recoveries. The graph uses a standard d3.tree layout with SVG rendering, where nodes are circles connected by curved links and labeled with country names. The code defines the data structure manually, applies d3.hierarchy to nest the data, and uses d3.tree().size() to compute node positions. Styling is applied through CSS classes for nodes and links, with the visualization rendered inside an SVG container.

AI-generated description