Draw line charts easily using d3.js