Tree Example with worlds and their countries
✓ Published0🌍 Public
This interactive tree diagram displays a hierarchical view of the world’s continents and selected countries, with nodes that expand and collapse on click. Built with React and D3.js (v3), it uses `d3.layout.tree` for positioning and `d3.svg.diagonal` for curved links, all rendered as animated SVG transitions. The visualization starts with a root node for “world” and branches into continents like Asia, Europe, and Africa, with Asia further detailed into subregions and specific countries such as India, Austria, and Belgium. Node colors and stroke styles are defined via CSS classes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed