This solution to the Expenses chart component challenge on Frontend Mentor uses the Charts.css data visualization framework. Color modifications have been made that differ from the design to meet accessible color contrast ratios.
Users should be able to:
- View the bar chart and hover over the individual bars to see the correct amounts for each day
- See the current day’s bar highlighted in a different colour to the other bars
- View the optimal layout for the content depending on their device’s screen size
- See hover states for all interactive elements on the page
- Bonus: Use the JSON data file provided to dynamically size the bars on the chart
Desktop
Mobile
- Semantic HTML5 markup
- CSS Custom properties (variables)
- JavaScript
- Charts.css - CSS Data Visualization Framework

