add line chart with d3.js