Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Countries Tree

Public visualization

Fork of World Countries Tree

0 stars0🌍 Public
FFredrik Kappmeier
Last edited Aug 8, 2021
Created on Aug 8, 2021

The visualization displays a hierarchical tree of world countries, organized by continent and region. It reads a JSON file containing the country hierarchy and renders it as an indented tree layout. The code uses d3's `hierarchy`, `tree`, and `linkHorizontal` functions to compute the layout and draw connection paths. Text labels show country names, with a zoom feature enabled via the `zoom` event, allowing interactive navigation of the tree structure.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed