Skip to main content
Public

Share visualization

Loading preview…

Fork of D3.js collapsible tree with boxes

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 D3.js collapsible tree with boxes

2
Cchoey1324@gmail.com
Last edited Jan 31, 2024
Created on Jan 30, 2024

This interactive tree diagram displays hierarchical data from a nested JSON file, with each node rendered as a labeled rectangle. The visualization shows a collapsible hierarchy where nodes can be expanded or collapsed to explore the data structure. Built with D3.js v3 and jQuery, the example uses SVG rectangles and animated transitions for the tree layout. Link labels indicate relationships between parent and child nodes, while node types are color-coded. The code implements custom zoom and drag behavior through D3’s zoom utility, and includes tooltips for additional information.

AI-generated description

This is a description using Markdown.

Comments

Sign in to join the discussion.

MIT Licensed