code: function createMaskingClip() {
              if (isAnimated) {
                  // We use a white rectangle to simulate the line drawing animation
                  maskingRectangle = svg.append('rect')
                      .attr('class', 'masking-rectangle')
                      .attr('width', width)
                      .attr('height', height)
                      .attr('x', 0)
                      .attr('y', 0);
  
                  maskingRectangle.transition()
                      .duration(animationDuration)
                      .ease(ease)
                      .attr('x', width)
                      .on('end', () => maskingRectangle.remove());
              }
          }
docs: Creates a masking clip that would help us fake an animation if the
  proper flag is true
  
  @return {void}