Skip to main content
100%

Fork of Fork of Fork of Fork of D3 Starter

✓ Published1🌍 Public
Yyazneshpara2@gmail.com
Last edited Nov 9, 2025
Created on Oct 28, 2025

This example displays a university department hierarchy as a vertical tree diagram, using circles for nodes and labeled edges to show parent-child relationships. It loads CSV data from a GitHub Gist via `d3.csv`, then applies `d3.stratify` to build a hierarchical root and `d3.tree` to compute the layout. The SVG output draws curved links with `path` elements and positions nodes and labels based on computed coordinates, with all styling handled through CSS. The tree’s structure is immediately visible, with text placed left or right of nodes depending on whether they have children.

AI-generated description
MIT Licensed

Similar vizzes