d3 line chart works for numbers AND dates!