network diagram using json and d3 javascript