Commit Graph

2 Commits

Author SHA1 Message Date
Kavi 1c693581ae Add Month / Year / 5-Year granularity toggle to time-series views
- charts.js: monthlyBars + lineChart take an optional labelFn so axis and
  tooltip labels can render period (year / 5-year) keys instead of months.
- dashboard.js: period helpers (periodKey/periodKeys/sumByPeriod) bucket the
  Overview (income vs spending bars + cumulative net line), Spending, and
  Income time-series by the selected granularity. Calendar 5-year buckets
  (2015-2019, 2020-2024, 2025-2029). Choice persists in localStorage.
- dashboard.html: Month/Year/5-Year segmented control in the header.

With 7+ years of backfill, monthly bars hit 108 columns; Year collapses to
9 and 5-Year to 3 readable buckets.
2026-06-02 16:47:37 -04:00
Kavi a2cb7d3700 Import Claude Design dashboard: 12-tab finance terminal
Full handoff from claude.ai/design bundle (4ESEfttPcJJzpoqjJxZozQ):
- dashboard.html: 12-tab shell (Overview, Spending, Income, People,
  Cards, Cycles, Balances, Rhythm, Platforms, Banks, Ledger, Quality)
- engine.js: data normalisation, categorisation, Sankey graph builder
- charts.js: reusable SVG primitives (bars, donuts, heatmaps, multiline)
- dashboard.js + dashboard2.js: all tab renderers
- styles.css + dashboard.css: Space Grotesk / IBM Plex Mono dark terminal
- sankey-view.js + orbit-view.js: Sankey and radial cycle views
- money-trace.html: Sankey / Orbit visualisation shell
- tweaks-panel.jsx: React palette/glow tweaks panel
2026-06-02 03:39:20 -04:00