Added time scale to D3 bar chart