Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars0🌍 Public
NNaveenaS12
Last edited Aug 18, 2020
Created on Aug 18, 2020

This visualization displays a hierarchical tree of world countries, organized by continent and then by subregion. It uses D3.js (v5) to load the data with `json`, construct the tree with `tree` and `hierarchy`, and render the connections as horizontal links using `linkHorizontal`. The SVG output is sized to fit the browser window, mapping the hierarchy into a static, navigable structure.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed