Algorithm that calculates aggregate expenses and visualizes data over time with JavaFX
This application allows users to interact with my algorithm and line chart visuals through a GUI developed with the JavaFX library. The algorithm is written in Java and it calculates varying expense rates in aggregation over varying time periods. Use cases include, personal finance management, calculating billing cycles, service charge estimates, and whatever you find applicable.
- Make sure you have Java 12 setup on your machine
- Clone the project (This may take a minute or two as I've also included JavaFX package files in the project for those who don't know how to install the dependencies)
- Navigatie to the project root
/expense-algorithm-visualization/FinanceVisualization/
- Unzip dist.zip
- Navigate to un-zipped folder
/expense-algorithm-visualization/FinanceVisualization/dist
- Run command to run jar executable
java --module-path ./lib --add-modules javafx.controls,javafx.fxml -Dfile.encoding=UTF-8 -jar ExpenseCalculator.jar
The application is very simple and intuitive to use. It abstracts much of the algorithm's logic from the user in the form of a GUI.
- Input the expense data for a particular service/charge
- Add the charge
- A message will appear confirming a successful input, otherwise, follow the message's instructions
- Reproduce Step 1 until you are satisfied with the number of services/charges you've inputed
- Click visualize and inspect the graphic for your own needs
- To start a new session, just close the graph and return to Step 1
I've originally written this algorithm to calculate finances for a React Native app I'm developing. This will be the example use-case I will be providing.
Services include...
- $99/year for deployment in Apple Store
- $25/one-time-charge for deployment in Android Store
- $25/month for Firebase as database
First I would enter information for apple store deployment. The title can be anything you want.
Then click 'Add Expenses' and you should see a green confirmation message. If not, follow the instructions of the error message.
Do the same for Android store information. Make sure the information for charge rate is correct In this case, The charge rate will be $25 per month.
I will also add Firebase's but I won't show this in an image.
Click on 'Visualize' to see the graph. (Note: Your past entries will dissapear upon visualization so make sure you inputted all that you need.)
Please read CONTRIBUTING.md for details on my code of conduct, and the process for submitting pull requests to me.
This project is licensed under the MIT License - see the LICENSE.md file for details