Skip to content

Coding challenge: Accessible chart component using JavaScript to dynamically display data.

Notifications You must be signed in to change notification settings

a-woodworth/expenses_chart_component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Expenses chart component solution

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.

Table of contents

Overview

The challenge

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

Screenshots

Desktop

Desktop Sceenshot

Mobile

Mobile Sceenshot

Links

Built with

  • Semantic HTML5 markup
  • CSS Custom properties (variables)
  • JavaScript
  • Charts.css - CSS Data Visualization Framework

About

Coding challenge: Accessible chart component using JavaScript to dynamically display data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published