Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Art Tree

Public visualization

Art Tree

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed