This is a simple d3.js tree diagram that loads an external data file as used as an example in the book D3 Tips and Tricks.
It is derived from the Mike Bostock Collapsible tree example but it is a VERY cut down version without the ability to update (collapse).
it will work for all type of json like '
var Josn = {
"name":"John",
"age":30,
"car":"Benz"
}
form this Json need to create a tree structure
i have tried it not working is there any way to create a tree structure from other type of json structure that you are used for example.