Question: Write a JavaScript to plot histogram of user entered digits for a number entered by the user. Histogram is a graph that will depict frequency

Write a JavaScript to plot histogram of user entered digits for a number entered by the user. Histogram is a graph that will depict frequency of occurrence of user specified digits in a user specified number. You have to use the "plotly" library and a sample is provided to you A) Create an HTML form as depicted below with two labels, two input boxes, a button and a div element. Users will enter a number and a few digits as inputs, and you should plot the histogram in div element on a button click. Input Humber: 146131584231583164135 Input Digits:14325 Plot Histograrm B) Create a CSS file to put your favorite styles for all the elements in the form. It should have a minimum of style shown above. You can choose colors of your likings C) JavaScript could be within the same html file or as an external file. The choice is again up to you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
