function cleanData(originalData) {
            return originalData.reduce((acc, d) => {
                d.date = new Date(d[dateLabel]);
                d.value = +d[valueLabel];

                return [...acc, d];
            }, []);
        }
Cleaning data casting the values and dates to the proper type while keeping
the rest of properties on the data
@param  {BrushChartData} originalData        Raw data from the container
@return {BrushChartData}                     Clean data
@private