Skip to main content
100%

Tree Example

✓ Published0🌍 Public
TTejamod
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from HTML Starter

This example shows a collapsible tree diagram of popular video games, organized by genre such as Battle Royale, Competitive, and Open World. The visualization uses d3.layout.tree and d3.svg.diagonal to render nodes and links as SVG elements with animated transitions. Clicking a node collapses or expands its children, with transitions handled by d3’s selection.transition. The styling uses custom CSS classes for node circles, text, and gold-colored links, with a fixed-depth layout spacing nodes horizontally by 180 pixels per level.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes