Welcome to the Expense Tracker! This web application helps you manage and visualize your expenses with an intuitive user interface. Built with modern web technologies, it features expense tracking, filtering, sorting, and visual representation of your data through interactive charts.
-
User-Friendly Interface
- Form Submission: Easily add new expenses with details like description, amount, date, and category using the form.
- Full-Screen View: The application is designed to be responsive, utilizing the full screen for a better user experience.
-
Expense Management
- Add Expenses: Input expenses and categorize them to keep track of various spending areas.
- Delete Expenses: Remove any unwanted entries directly from the expense list.
-
Filtering and Sorting
-
Date Range Filters: Filter expenses by selecting a date range to view only relevant entries.
-
Amount Range Filters: Specify minimum and maximum amounts to focus on specific spending ranges.
-
Sorting Options: Sort expenses by date, amount, or category for easy analysis.
-
-
Visual Analytics
- Chart Representation: View your expenses categorized by type using a dynamic pie chart. The chart automatically updates to reflect the latest data.
-
Budget Tracking
- Set Budget: Define a budget limit to track how much of your budget has been spent and how much remains.
- Budget Summary: View a summary of your budget, total spent, and remaining balance.
-
CSV Export
- Export Data: Export your expense data to a CSV file for further analysis or record-keeping.
-
Form Submission
- Users enter the expense details in the form fields (description, amount, date, and category) and submit the form. The expense is then added to the list and stored in the local storage.
-
Expense Storage
- Expenses are stored in the browser’s local storage. This allows data to persist across page reloads.
-
Displaying Expenses
- Expenses are displayed in a list format. Users can see the description, amount, date, and category of each expense. Each item also includes a delete button.
-
Updating the Chart
- The pie chart updates automatically when new expenses are added or when filters and sorting options are applied. The chart reflects the total amounts spent in each category.
-
Filtering and Sorting
- Users can apply filters and sorting options to refine the displayed expenses. Filters adjust the expense list based on date and amount ranges, while sorting organizes the list according to the selected criteria.
-
Budget Management
- Users can set a budget limit, which is saved in local storage. The application calculates and displays the total spent, remaining budget, and provides an overview of the budget status.
-
CSV Export
- Users can export their expense data as a CSV file, making it easy to share or analyze the data using other tools.
-
Clone the Repository
git clone https://github.com/yourusername/expense-tracker.git
-
Navigate to the Project Directory
cd expense-tracker
-
Open
index.html
in a Web Browser- Simply open
index.html
in your preferred web browser to start using the application.
- Simply open
- HTML: Structure of the web application.
- CSS: Styling and layout of the application, including responsive design and modern UI elements.
- JavaScript: Application logic, including form handling, local storage management, and chart updates.
- Chart.js: A powerful library used to create the interactive pie chart.
Contributions are welcome! Please fork the repository and submit pull requests for any improvements or bug fixes.
This project is licensed under the MIT License - see the LICENSE file for details.