code: function cleanData(originalData) {
              let data = originalData.reduce((acc, d) => {
                  d.value = +d[valueLabel];
                  d.name = String(d[nameLabel]);
  
                  return [...acc, d];
              }, []);
  
              let dataZeroed = data.map((d) => ({
                  value: 0,
                  name: String(d[nameLabel])
              }));
  
              return { data, dataZeroed };
          }
docs: Cleaning data casting the values and names to the proper type while keeping
  the rest of properties on the data
  It also creates a set of zeroed data (for animation purposes)
  @param  {BarChartData} originalData  Raw data as passed to the container
  @return  {BarChartData}              Clean data
  @private