Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive dynamic expenses chart using JSON

bacoder1 190

@bacoder1

Desktop design screenshot for the Expenses chart component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I decided to dynamically fetch the data from the provided json file.

Also, I used a magic number to convert the dollars into the proper height. If you found a better solution, please tell me.

Otherwise, this challenge was fun and the JSON fetching provided for a new technique I hadn't used yet.

If you have any other suggestions, you can leave them in a comment below.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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