use d3.time.scale