src/charts/donut.js
/**
         * Cleaning data adding the proper format
         * @param  {DonutChartData} data Data
         * @private
         */
Cleaning data adding the proper format
@param  {DonutChartData} data Data
@private
Cleaning data adding the proper format @param { DonutChartData } data Data @private
function cleanData(data) {
            return data.map((d) => {
                d.quantity = +d[quantityLabel];
                d.name = String(d[nameLabel]);
                d.percentage = String(d[percentageLabel]);
                return d;
            });
        }
function cleanData ( data ) { return data . map ( ( d ) => { d . quantity = + d [ quantityLabel ] ; d . name = String ( d [ nameLabel ] ) ; d . percentage = String ( d [ percentageLabel ] ) ; return d ; } ) ; }
Cleaning data adding the proper format
 @param  {DonutChartData} data Data
 @private
Cleaning data adding the proper format @param { DonutChartData } data Data @private