time filtering and d3 plots