Design comparison
SolutionDesign
Solution retrospective
I am using react for the app, I was wondering how to make it a little bit smoother when I am hovering the bar chart. If I hard code the colors in the datasets, I think should work perfectly but if I use a function to find the highest amount and create a backgroundColorArray according to the index of the highest amount, it will get slow.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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