An expenses card: the period's total with its change, a Week / Month / Year switch, a row per category and a donut of the categories on the period's budget, what is left of it hatched. Pointing at a segment, a row or the hatched part brings it forward and shows its amount and share in the middle of the ring; pressing a row holds it. The segments sweep round from 12 o'clock and turn to their new sizes between periods. Animated with anime.js.
pnpm dlx shadcn@latest add "https://www.mebius.design/r/charts-expenses.json"