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

2
Llhjalex
Last edited Aug 24, 2022
Created on Aug 24, 2022

This radial tree visualization displays a hierarchical dataset of Korean food categories and dishes, with the root node at the center and branches extending outward. The code uses d3.hierarchy and d3.cluster to compute the tree layout, then renders SVG paths for links and text labels for nodes. Panning and zooming are enabled through d3.zoom, and text font sizes scale with node depth using d3.scaleSqrt. The project function maps polar coordinates to Cartesian positions, while leaf labels rotate and adjust text-anchor based on their angular position.

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