Expenses chart component (ChartJS, Tailwind)

Solution retrospective
A lot of fun getting to use Chart-js and making customisations to meet the spec. Happy that I included functions to find the max value and then provide the correct colours for the bars.
Only thing I'd like to do is fetch the json data rather than include in the script. I tried but got a cors issue. Something to look into.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Martin'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