Skip to main content
Public

Share visualization

Loading preview…

Tree

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

Tree

12
MMTR
Last edited Mar 29, 2021
Created on Mar 22, 2021
Forked from HTML Starter

This example shows a static tree diagram whose nodes and links animate into place when the page loads. Nodes are drawn as red-stroked white circles, with text labels for each person, and links are drawn as straight black lines. The visualization uses D3 v6’s `d3.stratify` to arrange hierarchical data, `d3.tree` to compute the layout, and SVG `path` and `circle` elements. Node and link rendering is animated with D3’s `.transition().duration()`, which interpolates the initial coordinates to final positions.

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