// Insights — usage charts and breakdowns.
function Insights() {
return (
{data.map(([inp, outp], i) => {
const inpH = Math.round(inp / max * chartH);
const outpH = Math.round(outp / max * chartH);
return (
{i % 2 === 0 ? `04/${12 + i}` : ''}
);
})}
);
}
function BreakdownRow({ label, value, bar, sub, last }) {
return (