code: function cleanData(originalData) {
              return originalData.reduce((acc, d) => {
                  d.name = String(d[nameKey]);
                  d.x = d[xKey];
                  d.y = d[yKey];
  
                  return [...acc, d];
              }, []);
          }
docs: Cleaning data casting the values and names to the proper type while keeping
  the rest of properties on the data
  @param  {ScatterPlotData} originalData  Raw data as passed to the container
  @return  {ScatterPlotData}              Clean data
  @private