Skip to main content
Public

Share visualization

Loading preview…

Visualizing Tree

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

Visualizing Tree

0
Ssaisathyapriya097@gmail.com
Last edited Apr 3, 2024
Created on Apr 2, 2024

This visualization presents a hierarchical tree graph for locations, organizing a dataset of place names into three parent categories: Metropolis, Urban Centers, and Rural Centers. The tree uses a horizontal layout with colored nodes and connecting links to show parent-child relationships. Built with D3 v7, it employs `d3.tree`, `d3.hierarchy`, and `d3.linkHorizontal` to compute and render the tree, with each node positioned via translation transforms and colored using a categorical color scale based on depth. The chart is rendered as an SVG within an HTML page.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed