using d3 to show pipe layout  (not visible for IE)