{"version":"1.0","type":"rich","title":"D3 collapsable multiple parents tree","description":"This example visualizes plant generation data and a custom tree structure using D3.js version 3’s `d3.layout.tree`, `d3.svg.diagonal`, and SVG rendering with animated transitions. It shows hierarchical relationships through collapsible nodes, where clicking toggles child visibility, and includes an additional link connecting two non-parent-child nodes via a custom `additionalLinks` array. Nodes are rendered as colored rectangles with text labels, while paths represent parent-child connections. The code computes layout positions based on depth and applies 750-millisecond transitions to smoothly update node and link positions during collapse and expansion.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/135eaba68509422f8b29f0dde80be37c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}