function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 33], ['Annales de la Société entomologique de Belgique', 8], ['Beiträge Zur Entomologie = Contributions to Entomology', 9], ['Biodiversity Data Journal', 10], ['Bulletin of the American Museum of Natural History', 106], ['Entomologische Mitteilungen', 14], ['Faunitaxys', 14], ['Insecta Mundi', 185], ['L\'Échange, Revue Linnéenne', 15], ['Linzer biologische Beiträge', 384], ['Philippine Journal of Science', 58], ['Proceedings of the Zoological Society of London', 25], ['The Coleopterists Bulletin', 129], ['ZooKeys', 260], ['Zootaxa', 817], ['Other (20)', 62] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2129)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);