D3 collapsible tree with content that is dynamically added: https://fhightower.github.io/d3-dynamic-tree/
This is an expansion of Mike Bostock’s Collapsible Tree Block that demonstrates how to dynamically add content to the tree as nodes are expanded. There is a working example of this tree here.
Like the original, this is licensed under the GNU General Public License, version 3 license.