Skip to main content
Public

Share visualization

Loading preview…

Fork of 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 Fork of Radial Tree of Countries Hierarchy

0
Eericliu6178@gmail.com
Last edited Mar 27, 2023
Created on Mar 27, 2023

This radial tree visualization displays a hierarchical dataset of countries, organized by regions under a top-level "News" category. The code uses d3.cluster and d3.hierarchy to compute the layout, with SVG paths drawing curved links between parent and child nodes. Leaves and internal nodes are labeled with country and region names, using d3.scaleSqrt to vary font size by depth. The tree supports interactive panning and zooming via d3.zoom, transforming the entire graph group. Data comes from a local data.json file.

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