d3 example: add line chart