I have successfully created the class and associated methods as described in the project details. I am not clear on the last part where we create the bar chart for the expenses. I am confused: I understand the function must calculate the percentage spent in each category. Against what do I calculate the percentage spend? Against the ledger that reads, “Initial deposits”? If yes, the below line does not make any sense to me.
The percentage spent should be calculated only with withdrawals and not with deposits
Could somebody please clarify?