Skip to content

A personal finance tracker using C++ for CLI-based expense logging and Python Dash for interactive monthly visualizations. Stores data in CSV format and displays spending insights via bar and pie charts, combining core programming with data analytics.

Notifications You must be signed in to change notification settings

anuskagithub/FinanceTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Personal Finance Tracker with AI Insights

Track your daily expenses from the command line using C++ with built-in AI insights, and visualize monthly spending through an interactive Python dashboard.

πŸ“Œ Features

πŸ–₯️ C++ CLI Application

  • 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

πŸ“Š Python Dashboard

  • 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

πŸ“ Project Structure

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

πŸ“Έ CLI Working Screenshots

image

βž• Add Expense

image

πŸ“‹ View All Expenses

image

🧾 Spending Summary

image

πŸ” Filter By Category

image

❌ Delete Expenses

image

πŸ” Predict Next Month Expenses (AI Analytics)

image

πŸ“Š Show Category Probabilities (AI Analytics)

image

πŸ“ˆ Show Expense Statistics (AI Analytics)

image

πŸ€– Classify Spending Habit (AI Analytics)

image

🧠 Predict Category using Naive Bayes

image

❌ Exit

image

πŸ“Š Dashboard Preview

πŸ–₯️ Preview for April-25

image

πŸ–₯️ Preview for May-25

image

πŸ–₯️ Preview for June-25

image

About

A personal finance tracker using C++ for CLI-based expense logging and Python Dash for interactive monthly visualizations. Stores data in CSV format and displays spending insights via bar and pie charts, combining core programming with data analytics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published