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.
pnpm dlx shadcn@latest add "https://www.mebius.design/r/charts-asset-allocation.json"