Getting the below error message frequently and on refreshing the page the chart is getting displayed as expected.
Error: You called the draw() method with the wrong type of data rather than a DataTable or DataView
I am using the below lines of code
html code
js code