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

Expense chart

d3, fetch
Opudo Prince•460
@code-crasher
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?

I tried this at first using vanilla js where I used async function to fetch the data from the json file.It worked but I did not like the solution.So I tried it with d3.js a library for visualization of data and am happy with the results

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

The hardest part is getting the tooltip to work especially using javascript,But I finally managed to get them to work and have smooth and subtle transitions.

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

Maybe if anyone who is willing could go to the repository clone it and maybe try to suggest some improvements I would appreciate

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 Opudo Prince'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