{days.map((d, i) => {
const glmShare = d.glm / d.total
const blueH = Math.round(glmShare * EXAGGERATE * chartH)
const filled = Math.round(blueH * fillOf(i))
const slotGap = filled > 2 ? 5 : 0
const fieldH = chartH - filled - slotGap
const fieldTotal = d.dsf + d.dsp + d.mm + d.others
return (
{/* gray field of other models (already in place) */}
{field.map((seg) => (
))}
{/* GLM-5.2, animates in */}
{filled > 2 && (
)}
)
})}