Using jQuery to change the attribute of the chart
The above sample showcases how to change chart type and data using jQuery. Click here to know more on how the code of this example works.