calculatePieLayoutHeight = (totalLangs) => {
  return 300 + Math.round(totalLangs / 2) * 25;
}
Calculates height for the pie layout.

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