Fork of Tree
✓ Published0🌍 Public
This example shows a fork-style tree diagram depicting cartoon character names, with nodes colored according to the data’s color values and text sizes varying by tree depth. The visualization uses D3 v5’s `tree` layout and `hierarchy` to compute node positions, then renders horizontal links via `linkHorizontal` and SVG text elements. The code loads data from a JSON file, applies a zoom behavior via `d3.zoom`, and styles nodes with custom fills and text shadows.
AI-generated descriptionMIT Licensed