Where things sit right now, as one bar split into its parts: each state in its own colour, at a cumulative flow's strengths, and a key writing every count, a zero included. The part you point at widens; with onSelect a key opens the records it counts, otherwise it toggles its part and the rest reflow.
npx shadcn@latest add https://notchset.dev/r/split-bar.jsonsplit-bar