Track income and spending with category charts.
Difficulty: Intermediate · Technology: JavaScript, Chart library
Features to build
- Add transactions
- Category totals
- Monthly chart
- Export to CSV
Step-by-step build plan
- Define transaction fields: amount, type, category, date
- Build the add and delete form
- Compute totals by category
- Draw a chart from the totals
- Export the data as a CSV file
The part most people find hard
Working with dates and rounding money correctly.
How to test it
Compare your totals with a manual spreadsheet.
Suggested extensions
Add user accounts, better error handling, automated tests and a README with screenshots. Each extension is a new talking point in interviews.
How to describe it on your resume
Implemented an expense tracker with category analytics and CSV export.
Portfolio tip
Deploy it, link both the live version and the code, and write two paragraphs about what you learned and what you would improve.