Using setChartData (JSON) Function
The above sample showcases how to use setChartData function in JavaScript. Click here to know more on how the code of this example works.