calculateDonutLayoutHeight = (totalLangs) => {
  return 215 + Math.max(totalLangs - 5, 0) * 32;
}
Calculates height for the donut layout.

@param {number} totalLangs Total number of languages.
@returns {number} Card height.