langPercentFromPieLayoutSvg = (d, centerX, centerY) => {
  const dTmp = getNumbersFromSvgPathDefinitionAttribute(d);
  const startAngle = cartesianToPolar(
    centerX,
    centerY,
    dTmp[2],
    dTmp[3],
  ).angleInDegrees;
  let endAngle = cartesianToPolar(
    centerX,
    centerY,
    dTmp[9],
    dTmp[10],
  ).angleInDegrees;
  return ((endAngle - startAngle) / 360) * 100;
}
Retrieve the language percentage from the pie chart SVG.

@param {string} d The SVG path element.
@param {number} centerX The center X coordinate of the pie chart.
@param {number} centerY The center Y coordinate of the pie chart.
@returns {number} The percentage of the language.