Google Charts : UnderstandingThe library is hosted by google at
To display the chart different types of data tables are used. For Pie chart and Bar chart two column tables are used.
Number of tutorials at plus2net.com
Chart requires data in a particular format to prepare the chart . Here it is .
We will match the required format by displaying the array elements.
Why through array ?We declared the array as global variable and used the same to display the chart. We can modify data stored inside the array and change the chart dynamically by modifying the array data.