A cash flow card drawn as a dot matrix: the period's total net cash flow with a Week / Month / Year control over a grid of squares, one column per stretch of time and every square an equal amount, the money out stacked in blue from the bottom and the money in grey on top. A dashed line marks the selected column and a tooltip gives its dates and both amounts; the legend items take a series off the grid. Hover, drag or the arrow keys pick a column. Animated with anime.js: the matrix ripples in, the squares light up column by column while the total counts up, then the line runs down and the tooltip pops in; a new period slides the columns into place and recolours the squares that change.
pnpm dlx shadcn@latest add "https://www.mebius.design/r/charts-financial-trends.json"