Skip to main content
Public

Share visualization

Loading preview…

Fork of Radial Tree of Countries Hierarchy

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Radial Tree of Countries Hierarchy

0
KKaush
Last edited Apr 23, 2022
Created on Apr 23, 2022

This fork of Curran Kelleher’s radial tree visualizes a hierarchy of world countries, grouped by continent and subregion, with labels placed along circular branches. Users can pan and zoom the entire SVG scene using `d3.zoom` and `d3.event.transform`. The code builds the layout with `d3.cluster` and `d3.hierarchy`, projects nodes via a custom `project` function, and sizes text with `d3.scaleSqrt` based on depth. The underlying data is loaded from `data.json` using `d3.json`.

AI-generated description

Radial Tree Visualization of Countries Hierarchy. Has Panning and Zooming interaction.

Adapted from Curran Kelleher’s Block "World Countries Hierarchy".

Comments

Sign in to join the discussion.

MIT Licensed