I will explore the files in the project to understand the existing setup.
I will inspect package.json to see existing dependencies and scripts.
I will install lucide-react, recharts, canvas-confetti, and @types/canvas-confetti for icons, interactive financial charts, and celebration animations.
I will read index.html to inspect the page title and font imports.
I will read src/index.css to see the styling configuration.
I will update index.html with a descriptive title ("FinPulse | Personal Wealth & Finance Analytics") and import the Plus Jakarta Sans and JetBrains Mono fonts for crisp typography and financial numbers.
I will update src/index.css to define custom font families, custom scrollbars, and sleek glassmorphic utility styles for dark and light modes.
I will create src/types/finance.ts to define all TypeScript interfaces for transactions, accounts, categories, segments, KPI summary cards, and chart datasets.
I will create src/data/sampleData.ts with over 70 realistic financial transactions across 2025 and 2026, initial savings goals, budgets, and dynamic calculation helpers that recalculate every KPI card and chart dataset live whenever filters change.
I will create src/context/FinanceContext.tsx to provide global reactive state for transactions, live filters, dark mode, confetti celebrations, and live-calculated KPI and chart datasets.
I will create src/components/layout/Navbar.tsx featuring the FinPulse logo, a live portfolio ticker, an interactive "Simulate Live Tx" button, an "Add Transaction" modal trigger, and the dark mode toggle.
I will remove the unused RefreshCw import from Navbar.tsx.
I will create src/components/layout/GlobalFilterBar.tsx with live date-range pills, account segment dropdowns, spend-type segments, member profile filters, and an interactive search input that updates every KPI card, chart, and table in real-time.
I will remove the unused Sparkles import in GlobalFilterBar.tsx.
I will create src/components/dashboard/KpiCard.tsx to render each individual KPI summary card with trend indicators, a mini SVG sparkline, percentage delta badge, and interactive hover/click transitions.
I will create src/components/dashboard/KpiCardGrid.tsx to display the grid of interactive KPI summary cards with a clear visual hierarchy and responsive column layout.
I will create src/components/charts/NetWorthAreaChart.tsx using Recharts to display an interactive area chart with smooth gradient fills for Total Net Worth and Investment holdings, complete with custom hover tooltips and responsive transitions.
I will create src/components/charts/IncomeExpenseBarChart.tsx using Recharts to present a grouped bar chart of Monthly Income vs. Expenses with interactive hover tooltips that calculate the net savings margin for each period.
I will remove the unused ArrowDownRight import in IncomeExpenseBarChart.tsx.
I will create src/components/charts/CategoryDonutChart.tsx using Recharts to render an interactive Category Spending Breakdown donut chart with center totals, active slice highlighting, and clickable category legend rows that filter the transaction table.
I will fix the click event typing in CategoryDonutChart.tsx so that clicking a slice safely extracts the category name.
I will create src/components/charts/SpendingVelocityChart.tsx using Recharts to display a daily spending velocity curve with cumulative expenditure trajectory and a daily average benchmark line.
I will create src/components/table/TransactionTable.tsx with sorting by date/amount/merchant, local search and category filtering, inline category re-classification, CSV export, and a responsive table design.
I will remove the unused imports from TransactionTable.tsx.
I will create src/components/modals/AddTransactionModal.tsx to let users add new income, expense, or investment entries and see the entire dashboard react dynamically in real-time.
I will clean up unused imports in AddTransactionModal.tsx.
I will create src/components/modals/TransactionDetailModal.tsx to display complete transaction metadata, tags, account details, and quick inline category changes.
I will create src/components/dashboard/BudgetAndGoalsSection.tsx with interactive savings goals that allow users to contribute and trigger confetti celebrations, alongside monthly category budget progress meters.
I will create src/components/dashboard/DashboardTabs.tsx to let users switch between Executive Overview, Cash Flow & Velocity, Transaction Ledger, and Goals & Budgets views.
I will read src/App.tsx to inspect the current default app code.
I will create src/components/dashboard/DashboardMain.tsx to compose the full layout hierarchy including the Navbar, Global Filter Bar, KPI Card Grid, interactive tab switching, all charts, sortable table, goals/budgets section, and modals.
I will remove the unused imports from DashboardMain.tsx.
I will replace src/App.tsx to wrap the entry point with FinanceProvider and render the DashboardMain component.
I will clean up src/App.tsx.
I will now build the project using build_project to test that there are no syntax, TypeScript, or bundling errors.
I have created FinPulse, an interactive personal finance and wealth analytics dashboard.
What Was Built:
-
Interactive Layout & Navigation Hierarchy (Navbar & DashboardTabs):
- Includes a logo with a live sync indicator, a portfolio summary ticker (Net Worth, Savings Rate, synced transactions), a Simulate Live Tx quick action, an Add Transaction modal trigger, and a persistent Dark / Light Mode Toggle.
- Tab switcher to navigate between Executive Overview, Cash Flow & Velocity, Transaction Ledger, and Budgets & Wealth Goals.
-
6 Interactive KPI Summary Cards with Trend Indicators (KpiCardGrid & KpiCard):
- Cards for Total Net Worth, Total Income, Total Spending, Savings & Invest Rate, Investment Growth, and Liquid Cash Runway.
- Each card features an embedded SVG sparkline trend curve, an arrow-backed percentage delta badge (
+6.4% QoQ, -5.2% lower), and an interactive click state that highlights the selected metric.
- All KPI values and sparklines re-calculate live whenever the user changes date ranges or segment filters.
-
Interactive Charts with Hover Tooltips & Smooth Transitions (recharts):
- Net Worth & Wealth Accumulation (
NetWorthAreaChart): Area chart with smooth gradients for Net Worth and Investment holdings, custom hover tooltips showing period-over-period growth, and time/asset toggles.
- Income vs. Expense Trend (
IncomeExpenseBarChart): Grouped monthly bar chart comparing cash inflows and outflows with tooltips calculating the net monthly savings margin.
- Expense Breakdown Donut (
CategoryDonutChart): Donut chart with inner-radius center totals, active slice zoom on hover, and clickable category legend rows that filter the transaction ledger.
- Spending Velocity & Daily Burn (
SpendingVelocityChart): Daily spend velocity line chart with cumulative trajectory and a daily average benchmark line.
-
Live Global Filter Bar (GlobalFilterBar):
- Date Range Presets: Quick pills for , , , , , plus monthly filters like , , and .
Files built: index.html, src/index.css, src/types/finance.ts, src/data/sampleData.ts, src/context/FinanceContext.tsx, src/components/layout/Navbar.tsx, src/components/layout/GlobalFilterBar.tsx, src/components/dashboard/KpiCard.tsx, src/components/dashboard/KpiCardGrid.tsx, src/components/charts/NetWorthAreaChart.tsx, src/components/charts/IncomeExpenseBarChart.tsx, src/components/charts/CategoryDonutChart.tsx, src/components/charts/SpendingVelocityChart.tsx, src/components/table/TransactionTable.tsx, src/components/modals/AddTransactionModal.tsx, src/components/modals/TransactionDetailModal.tsx, src/components/dashboard/BudgetAndGoalsSection.tsx, src/components/dashboard/DashboardTabs.tsx, src/components/dashboard/DashboardMain.tsx, src/App.tsx