Skip to main content
Public

Share visualization

Loading preview…

ICE8 - Interactive 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

ICE8 - Interactive Tree Graph

1
Aanushaanumula
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from HTML Starter

This interactive tree graph displays an animal hierarchy, from a root "Animals" node branching into Herbivores, Omnivores, and Carnivores, with further subcategories like Lions and Tigers. Clicking any node collapses or expands its children, animating the reorganization with smooth transitions. Built with the React framework and rendered using SVG, the visualization leverages D3.js version 3.5 APIs like `d3.layout.tree` for positioning, `d3.svg.diagonal` for link paths, and node transitions via the `.transition().duration()` method. Circles and text labels are styled through CSS classes, with alternating fill colors indicating expandable nodes.

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