use d3.js to render topology