This is the tree version of the code. I’m using the D3 native tidy tree algorithm. The images don’t correspond to the nodes, I assigned them arbitrarily, and there are repeated images (since you had less images than nodes in your image folder).
Pros:
Cons:
Those problems might mean that, if we choose that alternative, we’ll have to create our own algorithm for position the nodes.
Don’t worry about the privacy of your data, I’m using a “noindex/nofollow” on this page.