Skip to main content
100%

Dinosaur Species

✓ Published1🌍 Public
Yyasmeenha
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Hello VizHub

This interactive visualization displays a branching tree of dinosaur species, with major groups like Sauropodomorpha, Cerapoda, and Theropoda splitting into individual genera. Users can click any node to collapse or expand its subtree, with smooth transitions animating the layout changes. Built with React and D3.js, the code uses `d3.layout.tree` and `d3.svg.diagonal` to position nodes and draw curved links, while SVG circles and text labels render the hierarchy. The dataset is hardcoded in JavaScript, and clicking triggers the `update` function to recompute positions with a 750-millisecond duration.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes