donutCenterTranslation = (totalLangs) => {
  return -45 + Math.max(totalLangs - 5, 0) * 16;
}
Calculates the center translation needed to keep the donut chart centred.
@param {number} totalLangs Total number of languages.
@returns {number} Donut center translation.