function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 2], ['Garcia de Orta - série de zoologia', 1], ['Insecta Mundi', 1], ['Journal of the Kansas Entomological Society', 1], ['New Zealand Journal of Science and Technology', 1], ['Proceedings of the Entomological Society of Washington', 3], ['Raffles Bulletin of Zoology', 4], ['South Australian branch of the British Science Guild (incorporated with the British Association for the Advancement of Science)', 1], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', 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);