Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tree Graph

Public visualization

Tree Graph

0 stars2🌍 Public
Pprasaad.lakshme901@gmail.com
Last edited Mar 31, 2024
Created on Mar 31, 2024

This tree graph displays the hierarchical structure of world countries organized by continent and region, with each leaf node labeled by country name. The visualization uses D3.js v5 to load CSV data, transform it into a hierarchical layout via `d3.hierarchy` and `d3.tree()`, and render the branching connections with `linkHorizontal` paths on an SVG canvas. The chart supports interactive zooming through `d3.zoom()`, while node labels scale in font size based on their depth in the tree.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed