Skip to main content
100%

Fork of tree test

✓ Published1🌍 Public
KKeerthipriyaBankuru
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from Hello VizHub

This visualization shows a hierarchical tree of cricket formats, with Cricket as the root branching into ODI, Test, and League categories, each with their own subcategories. The tree uses a collapsible layout where clicking a node toggles its children, and nodes transition smoothly to their new positions. The code uses D3.js version 3.5.17 with the `d3.layout.tree` API to compute the layout, `d3.svg.diagonal` for the curved links, and SVG transitions with a 750ms duration for animations. The styling is defined in CSS, with red links and circles for nodes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes