{"id":20178700,"url":"https://github.com/chanda-abdul/frontend-mentor-expenses-chart-component-using-react-chartjs-tailwindcss","last_synced_at":"2026-06-12T09:32:29.072Z","repository":{"id":49762993,"uuid":"517982970","full_name":"Chanda-Abdul/Frontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS","owner":"Chanda-Abdul","description":"This is a solution to the \"Expenses chart component challenge\" on Frontend Mentor using React, Chart.js and TailwindCSS","archived":false,"fork":false,"pushed_at":"2022-07-26T08:58:11.000Z","size":397,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T05:41:38.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://curious-pastelito-182280.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chanda-Abdul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-26T08:48:52.000Z","updated_at":"2022-07-26T17:46:41.000Z","dependencies_parsed_at":"2022-08-31T21:02:00.306Z","dependency_job_id":null,"html_url":"https://github.com/Chanda-Abdul/Frontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chanda-Abdul/Frontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chanda-Abdul%2FFrontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chanda-Abdul%2FFrontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chanda-Abdul%2FFrontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chanda-Abdul%2FFrontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chanda-Abdul","download_url":"https://codeload.github.com/Chanda-Abdul/Frontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chanda-Abdul%2FFrontend-Mentor-Expenses-chart-component-using-React-ChartJS-TailwindCSS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34238713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T02:23:03.727Z","updated_at":"2026-06-12T09:32:29.054Z","avatar_url":"https://github.com/Chanda-Abdul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Expenses chart component\n\n![Design preview for the Expenses chart component coding challenge](./design/desktop-preview.jpg)\n Frontend Mentor - Expenses chart component solution\n\nThis is a solution to the [Expenses chart component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/expenses-chart-component-e7yJBUdjwt). Frontend Mentor challenges help you improve your coding skills by building realistic projects. \n\n## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n  - [Continued development](#continued-development)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n- [Acknowledgments](#acknowledgments)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- [x] View the bar chart and hover over the individual bars to see the correct amounts for each day\n- [x] See the current day’s bar highlighted in a different colour to the other bars\n- [x] View the optimal layout for the content depending on their device’s screen size\n- [x] See hover states for all interactive elements on the page\n- [ ]  **Bonus**: Use the JSON data file provided to dynamically size the bars on the chart\n\n### Screenshot\n#### Mobile ➡️ 375px\n![](./design/mobile-design.jpg)\n\n#### Desktop ➡️ 1440px\n![](./design/desktop-design.jpg)\n![](./design/desktop-preview.jpg)\n#### Active States\n![](./design/active-states.jpg)\n\n\n\n\n### Links\n\n- Live Site Solution URL: [Add live site URL here](https://curious-pastelito-182280.netlify.app/)\n\n## My process\n\n### Built with\n\n- [TailwindCSS](https://tailwindcss.com/) - \u003cb\u003eCSS\u003c/b\u003e Framework\n    - \u003cb\u003eSass\u003c/b\u003e custom properties\n    - Responsive Media Queries\n    - Flexbox\n    - Mobile-first workflow\n- [React](https://reactjs.org/) - JS library\n  - \u003cb\u003eJSX\u003c/b\u003e Semantic \u003cb\u003eHTML5\u003c/b\u003e markup\n  - \u003cb\u003eJavaScript\u003c/b\u003e\n- [Chart.js](https://www.chartjs.org/) - JavaScript Chart Building Library\n\n### What I learned\n\nUse this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge.\n\nTo see how you can add code snippets, see below:\n\n```html\n\u003ch1\u003eSome HTML code I'm proud of\u003c/h1\u003e\n```\n```css\n.proud-of-this-css {\n  color: papayawhip;\n}\n```\n```js\nconst proudOfThisFunc = () =\u003e {\n  console.log('🎉')\n}\n```\n\nIf you want more help with writing markdown, we'd recommend checking out [The Markdown Guide](https://www.markdownguide.org/) to learn more.\n\n\n\n### Continued development\n\nUse this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect.\n\n\n### Useful resources\n\n- [Hide gridlines in Chart.js](https://devsheet.com/code-snippet/hide-gridlines-in-chartjs/) - This helped me for XYZ reason. I really liked this pattern and will use it going forward.\n- [Chart.js Docs](https://www.chartjs.org/docs) - This is an amazing article which helped me finally understand XYZ. I'd recommend it to anyone still learning this concept.\n- [TailwindCSS](tailwindcss.com) - This helped me for XYZ reason. I really liked this pattern and will use it going forward.\n\n\n## Author\n\n- Frontend Mentor - [@Chanda-Abdul](https://www.frontendmentor.io/profile/Chanda-Abdul)\n- Website - [Chanda Codes](https://chandacodes.com/)\n- GitHub - [github.com/Chanda-Abdul](https://github.com/Chanda-Abdul)\n\n\n## Acknowledgments\n\nThis is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.\n\n**Note: Delete this note and edit this section's content as necessary. If you completed this challenge by yourself, feel free to delete this section entirely.**\n\n## Welcome! 👋\n\nThanks for checking out this front-end coding challenge.\n\n[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects.\n\n**To do this challenge, you need a decent understanding of HTML, CSS and JavaScript.**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanda-abdul%2Ffrontend-mentor-expenses-chart-component-using-react-chartjs-tailwindcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanda-abdul%2Ffrontend-mentor-expenses-chart-component-using-react-chartjs-tailwindcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanda-abdul%2Ffrontend-mentor-expenses-chart-component-using-react-chartjs-tailwindcss/lists"}