🌍 Public
Viewing a saved revision (read-only)
ba42b7145ebe4db8acbbb2d3de9ed8a9
Tree layout
This example uses D3.js version 4 to render a hierarchical tree layout from CSV data. The visualization shows nodes connected by curved paths, where node labels display different data fields depending on their depth level. The tree uses `d3.tree()` to compute positions and `d3.hierarchy()` to structure the nested data. A React version is included, and an alternative HTML file demonstrates dynamic resizing with the `clientWidth` and `clientHeight` properties.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.