🌍 Public
Viewing a saved revision (read-only)
21e81ad0f90a4ea3ae4772f42dccb2c1
World Countries Tree
This example displays a hierarchical tree of software components and projects, using a dataset of Ericsson product areas with nested submodules. The code loads `data.json`, applies the `d3.tree` layout, and renders the structure with SVG `path` elements and `text` labels. It uses `d3.hierarchy`, `linkHorizontal` for curved links, and `d3.zoom` for pan-and-zoom interaction. Font sizing decreases with node depth, and the styling relies on the Playfair Display typeface with a custom color for the links.
AI-generated description