I am trying to create a d3-oriented diagram ( http://mbostock.github.com/d3/ex/force.html ). Here is a simple JSON file containing my data.
{"nodes":[{"name":"Node1","group":1}, {"name":"Node2","group":1}],
"links":[{"source":1,"target":2,"value":2}]}
I have two nodes in one group. I am also trying to create a connection between these two nodes. However, my page remains blank (and I am sure that other parts than JSON are correct).
What is a "group"? Why do borders have both a "source" and a "target" - and what are these meanings? Why are links “valuable”? Are links not just unweighted edges? I'm having trouble understanding the JSON data storage structure.
source
share