Skip to main content
Public

Share visualization

Loading preview…

HW3_111

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

HW3_111

0
AAmanda-Tai
Last edited Nov 19, 2022
Created on Nov 19, 2022

This radial tree visualization displays the hierarchical structure of world countries, organized by region and subregion, with interactive panning and zooming enabled through `d3.zoom`. The code uses `d3.hierarchy` and `d3.cluster` to compute node positions, with curved paths drawn via SVG `path` elements. Node labels are rotated tangentially and vary in font size based on depth, while white text shadows improve readability. The visualization adapts Curran Kelleher’s block, rendering the hierarchy from a JSON data 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