Question: (Plotly, JavaScript)Write a function named plotLine that takes an array of points where each element is an array in the format [x, y] and both
(Plotly, JavaScript)Write a function named "plotLine" that takes an array of points where each element is an array in the format [x, y] and both x and y are floating points Numbers. The function will create a line chart in a div with id of "plot" using the Plotly library. You may assume that your code runs on a page where Plotly is downloaded
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
