code: function drawLegend(obj) {
              if (obj.data) {
  
                  svg.select('.donut-text')
                      .text(() => centeredTextFunction(obj.data))
                      .attr('dy', '.2em')
                      .attr('text-anchor', 'middle');
  
                  svg.select('.donut-text').call(wrapText, legendWidth);
              }
          }
docs: Draws the values on the donut slice inside the text element
  
  @param  {Object} obj Data object
  @private