Expenses graph solution

Solution retrospective
Does anyone know how I can refactor or short-circuit the js code in order to do the same things with lesser lines of code? Also, any tips on optimizing code for reuse?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Daniel'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