Skip to main content
Public

Share visualization

Loading preview…

Generating Tree Graph

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

Generating Tree Graph

0
Ssridhardubala106@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from Tree Fractal

This tree graph visualizes the hierarchical relationship between smartphone brands and their models, using processor speed as a secondary attribute for each leaf node. The d3.stratify layout transforms flat JSON data into a hierarchy, which is then rendered as horizontal links and circles connected by the d3.tree layout. Nodes are positioned using the tree layout’s x and y coordinates, with d3.linkHorizontal generating smooth curved paths for the edges. The SVG canvas displays each phone model as a labeled circle, with brand names appearing as parent nodes, all styled with steelblue fills and white strokes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed