Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Expenses chart - React, TailwindCSS & Recharts

react, tailwind-css
sherimin•420
@sherimin
A solution to the Expenses chart component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

In this project, I refreshed my knowledge of TailwindCSS, and gained knowledge with Recharts. Customizing the chart's axes, labels, and handling the hover and active states for each bar took me much research and experimentation.

When I implemented the bar chart, I found there are a few libraries I can choose from, and eventually I went with Recharts for its common use for React applications and flexibilities in customization. But I’m interested in exploring other options, like Chart.js, to see if they offer different solutions.

What challenges did you encounter, and how did you overcome them?

Most challenges were about how to use Recharts.

What specific areas of your project would you like help with?

I'd like to see if I can improve the logic and clarity of the code. Any input is greatly appreciated!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on sherimin'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License