src/charts/donut.js
function tweenGrowth(slice, outerRadius, delay = 0) {
            d3Selection.select(slice)
                .transition()
                .delay(delay)
                .attrTween('d', function(d) {
                    let i = d3Interpolate.interpolate(d.outerRadius, outerRadius);

                    return (t) => {
                        d.outerRadius = i(t);

                        return shape(d);
                    };
                });
        }
function tweenGrowth(slice, outerRadius, delay = 0) {
            d3Selection.select(slice)
                .transition()
                .delay(delay)
                .attrTween('d', function(d) {
                    let i = d3Interpolate.interpolate(d.outerRadius, outerRadius);

                    return (t) => {
                        d.outerRadius = i(t);

                        return shape(d);
                    };
                });
        }
function tweenGrowth ( slice , outerRadius , delay = 0 ) { d3Selection . select ( slice ) . transition ( ) . delay ( delay ) . attrTween ( 'd' , function ( d ) { let i = d3Interpolate . interpolate ( d . outerRadius , outerRadius ) ; return ( t ) => { d . outerRadius = i ( t ) ; return shape ( d ) ; } ; } ) ; }
Animate slice with tweens depending on the attributes given

@param  {DOMElement} slice   Slice to growth
@param  {Number} outerRadius Final outer radius value
@param  {Number} delay       Delay of animation
@private
Animate slice with tweens depending on the attributes given