I am trying to use the snipet of code provided and I am getting an error in the line:
Plotly.newPlot(‘myDiv’, data, {}, {showSendToCloud: true});
There error is ‘cannot find name’. Is there other setup required other than the line below?
Thank you!
HTML:
JS:
Plotly.newPlot(‘myDiv’, data, {}, {showSendToCloud: true});