Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

xmas 'tree'

Public visualization

xmas 'tree'

1 star0🌍 Public
JJake
Last edited Jul 20, 2020
Created on Jul 20, 2020
Forked from Blank Canvas Cross

This visualization renders the hierarchical structure of world regions and countries as a branching tree that resembles a Christmas tree. The data, organized as a nested JSON hierarchy, is laid out using d3.tree and d3.hierarchy, with d3.linkHorizontal generating curved paths for the connections. The SVG rendering uses red-filled paths with green strokes to create the festive appearance, while circle nodes remain white with black outlines. The layout size is dynamically set to the browser window dimensions.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed