Streaming Data Tree
✓ Published0🌍 Public
This example shows a hierarchical tree of streaming services, with Netflix and Hulu branching into genres and specific titles. Each node’s shape and color encode its depth: a green circle for the root, yellow triangles for platforms, red hexagons for genres, and brown diamonds for titles. The code uses `d3.hierarchy` and `d3.tree` to compute the layout, then renders SVG paths with `d3.linkHorizontal` for links and custom-generated SVG shapes for nodes. Labels are positioned dynamically based on whether a node has children.
AI-generated descriptionMIT Licensed