Use d3 functions to round dates
Rename and reorder variables