Expenses Chart
- from @mebius
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.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @mebius/charts-expenses