Track your daily expenses from the command line using C++ with built-in AI insights, and visualize monthly spending through an interactive Python dashboard.
- Add expenses with date, category, amount, and monthly budget
- View all expenses
- Filter by category
- View total spending vs. budget
- Delete incorrect entries
- Stores data in
expenses.csv
(CSV format)
π€ AI-Powered Analytics (C++ - from scratch)
- π Linear Regression β Predict next month's expense based on past spending
- π K-Means Clustering β Classify your spending behavior as Frugal, Balanced, or Overspender
- π§ Naive Bayes Classifier β Predict the most likely category for a new expense based on amount
- π Statistical Summary β Calculate and display mean, variance, and standard deviation of expenses
- π Category Probability Distribution β Visualize how frequently each category is used
- Reads data from the CSV file
- Displays interactive bar and pie charts using Dash & Plotly
- Launches a local server (
localhost:8050
) for real-time insights
ExpenseTracker/
β
βββ cpp/
β βββ expense_entry.cpp # C++ source file (main CLI logic)
β
βββ python/
β βββ dashboard.py # Dash dashboard for visualization
β
βββ data/
β βββ expenses.csv # CSV file storing expenses














