{payload[0]?.payload?.month}
{payload.map((entry, index) => {
if (entry.dataKey === "month") return null;
return (
{currencyFormatter.format(
Number(entry.value) || 0,
)}
);
})}
);
}}
/>
{topCategories.map((category, index) => {
const color = CHART_COLORS[index % CHART_COLORS.length];
return (