🌍 Public
Viewing a saved revision (read-only)
3cea9e8cfedb450d9e3d2cc77375dfe5
Fork of Fork of D3.js collapsible tree with boxes
This example shows a hierarchical tree of movies organized by release year and country of origin, with each movie as a leaf node. The visualization uses colored shapes—circles for years, rectangles for countries, and ellipses for movies—to represent different levels of the hierarchy. The D3.js v3 library builds the collapsible tree layout, using SVG elements for rendering. The code defines `treeData` as a static JavaScript array, and the legend explains the shape-color mappings for the categorical data.
AI-generated descriptionThis is a description using Markdown.