Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Tree 7

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 Tree 7

9
Bbindhureddy98
Last edited Apr 2, 2022
Created on Apr 2, 2022
Forked from Fork of Tree 7

This example presents a collapsible node-link tree diagram that visualizes a small hierarchical dataset from a JSON file. The visualization loads the JSON data and displays it as an interactive tree, where users can click on nodes with children to expand or collapse branches. The tree layout is computed using `d3.layout.tree` and rendered as an SVG graphic, with nodes drawn as circles and connections as diagonal path links. The visualization uses the `qn_tree.json` data source, and all transitions between expanded and collapsed states are animated with D3's `.transition()` method.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed