render d3 lines