Skip to main content
Public

Share visualization

Loading preview…

Fork of Tree Example

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

0
BBaylife5
Last edited Apr 11, 2023
Created on Apr 11, 2023
Forked from Tree Example

This interactive tree diagram displays hierarchical data with expandable and collapsible nodes. Clicking a node toggles its children, animating the layout transitions. The example is built with React and D3.js, using the `d3.layout.tree` API and `d3.svg.diagonal` projections to draw curved links. The SVG rendering includes a 750ms transition animation for nodes and links as the tree structure changes. Custom data defines family relationships, with nodes styled as white circles with steelblue strokes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed