function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 2], ['Biodiversity Data Journal', 10], ['Bulletin of the Museum of Comparative Zoology at Harvard College, 3', 1], ['Far Eastern Entomologist', 4], ['Insecta Mundi', 8], ['Linzer biologische Beiträge', 17], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Zoosystema', 2], ['Zootaxa', 54] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=99)', 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);