function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Durban Museum', 1], ['Australian zoologist', 1], ['E. J. Brill', 1], ['European Journal of Taxonomy', 5], ['Journal and Proceedings of the Asiatic Society of Bengal', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the United States National Museum, 3', 1], ['Records of the Zoological Survey of India', 1], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=19)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);