working on d3 version of simple skeleton of network