A simple tree diagram built with d3.js. It has simple tooltips, node filter and custom styles for nodes and links. In scripts.js
you can find how to use icons for node representation.
The input data is a flat json
[
{"name": "Eve", "parent": "" , "label": "L1", "size": 10, "color": "steelblue"},
{"name": "Cain", "parent": "Eve", "label": "L2", "size": 10, "color": "steelblue"},
...