Skip to main content
100%

Family Tree of a Dog

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

This interactive family tree visualizes the hierarchical classification of dog breeds, using a JSON data structure to define nested categories like Retrievers and Hounds. Built with D3 v3 within a React framework, the SVG rendering uses `d3.layout.tree()` to position nodes and links, with collapsible behavior triggered by clicks. Each node is color-coded by type and includes a tooltip with breed details, while the chart supports zooming and panning via `d3.behavior.zoom`. Animations smoothly transition nodes during updates, and the entire tree is dynamically sized based on its depth and breadth.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes