Asset Allocation Chart
- from @mebius
An asset allocation card: the amount allocated and the portfolio's total next to a two-column flow chart in which bands carry the money from the classes it leaves to the classes it joins, labelled with each amount and its share, and a dark tooltip on the selected band with its share of both classes. Hover, focus or click a band to raise it with its tooltip, hover a class to light its bands, and switch classes off in the legend to reflow the chart. 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-asset-allocation