Skip to main content
100%

Art Tree

✓ Published1🌍 Public
Cceresfin
Last edited Feb 1, 2021
Created on Jan 31, 2021

An interactive tree visualization maps the hierarchical relationships among world regions and countries. The code loads data from `data.json` and uses the D3.js `tree` layout with a horizontal link generator to position nodes as text labels. Users can pan and zoom the entire diagram through D3's `zoom` behavior. Node text size scales inversely with depth, and the visualization is rendered as SVG with custom styling applied to the connecting paths.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes