🌍 Public
Viewing a saved revision (read-only)
3bacdadec6d346f49e2f66870d18b0bd
Constructing Visualizations Book Outline
An interactive tree diagram visualizes the complete outline of a book on constructing visualizations, with hierarchically organized chapter and section nodes. The visualization uses D3's `tree` layout and `linkHorizontal` generator to draw connecting paths, while user clicks on nodes highlight selections. The color scale differentiates root, chapter, and subsection levels, with labels positioned according to node children. Interactive selection tracking via `setState` allows users to highlight specific sections by clicking nodes or deselect by clicking the background.
AI-generated description