Question
Create a js script called sales-graph.js This page should display a bar graph for sales data for each region. Use the following sales data: Region:
Create a js script called sales-graph.js This page should display a bar graph for sales data for each region. Use the following sales data: Region: Northern Region, Amount: 40 Region: Eastern Region, Amount: 10 Region: Southern Region, Amount: 100 Western Region, Amount: 65 Use different colors for each region Use labels for the region and for each bar and annotate that the amount is in millions. Add a reset graph button. When the reset graph button is clicked, use a constant velocity animation to shrink all the bars back to 0. When the admin logs in, instead of redirecting to myaccount.html, redirect to sales-dashboard.html.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started