Scientific linechart element with d3.js