Search Collapsible Tree
This interactive visualization extends a collapsible tree diagram with a search feature. It displays a hierarchical dataset (flare.json) as an animated, SVG-based tree that users can expand and collapse by clicking nodes. A Select2 search box at the top allows users to type a leaf node’s name, which automatically expands the tree to reveal that node and highlights the entire path to it in red. Built with D3.js and jQuery, the tree uses a fixed-depth layout and diagonal links, with node expansion and collapse animations.
AI-generated description##Overview This is an extension of Collapsible Tree using Select2 to search the tree's leaf nodes.
##Usage Type the name of a leaf node in the box at the top. This should expand the tree to the depth of that node and highlight the path in red.
forked from <a href='http://bl.ocks.org/jjzieve/'>jjzieve</a>'s block: <a href='http://bl.ocks.org/jjzieve/a743242f46321491a950'>Search Collapsible Tree</a>
forked from <a href='http://bl.ocks.org/FrissAnalytics/'>FrissAnalytics</a>'s block: <a href='http://bl.ocks.org/FrissAnalytics/238ab4decbead9e5efda0ece5293e08a'>Search Collapsible Tree</a>