labelGroup.append("text")
                .attr("id", function(d, i) { return pie.cssPrefix + "segmentPercentage" + i + "-" + section; })
                .attr("class", pie.cssPrefix + "segmentPercentage-" + section)
                .text(function(d, i) {
                    var percentage = d.percentage;