add weekly and monthly binning for plotting.