add time series - inspired from crossfilter.js introduction page