Skip to main content
Public

Share visualization

Loading preview…

Collapsible Tree Version 4

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

Collapsible Tree Version 4

0
Rrainyrainyguo
Last edited Nov 25, 2020
Created on Nov 25, 2020

Using D3.js v3, this collapsible tree visualization presents hierarchical data from a JSON file with an animated, interactive layout. Users can click nodes to expand or collapse subtrees, with smooth transitions applied via `d3.svg.diagonal` paths and CSS styling. The tree is rendered as an SVG, while `d3.behavior.zoom` and drag-and-drop interactions enable panning and repositioning of nodes within the 900×900 pixel viewport.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed