Expenses chart component

Solution retrospective
This might be my first time to use JSON file in the project, which made me a bit nervous. I didn't know whether I should 'import' the JSON file or simply copy & paste the data into the .js file. I ended up with the latter, which seemed to me easier.
The purpose of this project must be to create the bar-charts dynamically based on the data, but it was more than I could manage. All I could do with my current skill was to insert the spending values dynamically with the JSON data.
I think this is a baby step forward for me. I would like to learn how to use JSON data properly and try it on the next project.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on K's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord