Bundle layout using d3.js and given json file structure
问题 I have a json file with elements like this: [{ "name": "Manuel Jose", "ttags": ["vivant", "designer", "artista", "empreendedor"] }] I'm trying to get the node and the edges using this structure to complete a graph like: (diagram is taken from d3.js documentation) Both name and ttags in my json file refer to nodes, ttags are actually links between the node and another nodes. But, I cannot understand how to create this diagram using this library d3 and above json file. d3.json("/data/tedxufrj