primitive d3 line chart set up