Question
Use javascript- to use version 6 of the D3library for this. Create a basic html file . Use JavaScript to create a dataset ofthree variables,
Use javascript- to use version 6 of the D3library for this.
Create a basic html file . Use JavaScript to create a dataset ofthree variables, by generating random integers. The dataset shouldcontain 20 integer triples between 10 and 50. So it will look like[[11, 21, 12], [21, 49, 30], ...]. Create a barchart using thefirst variable as the height of the bar, the second for the widthof each bar, and the third for the fill opacity of the bar. Youshould use scales for the second and third variables. Show a textwith the height of the bar on each bar (or above); use a solidcolor (with different opacity) for the bars, such as blue, red,etc. Add hovering effect for each bar (to change its color). Add ascaling capability (when you click a paragraph in the html file,the height of the bar is changed to 1/2).
Step by Step Solution
3.39 Rating (165 Votes )
There are 3 Steps involved in it
Step: 1
Program include using namespace std class date int day int month int year public friend ostream op...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