function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 10], ['Acta Entomologica Musei Nationalis Pragae', 126], ['Amurian Zoological Journal', 7], ['Archiv für Naturgeschichte, Abteilung A', 9], ['Biodiversity Data Journal', 21], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 9], ['Insecta Mundi', 35], ['Japanese Journal of Systematic Entomology', 8], ['Russian entomological journal', 8], ['The Coleopterists Bulletin', 37], ['The Scientific Transactions of the Royal Dublin Society, Series 2', 12], ['Transactions of the Entomological Society of London', 17], ['ZooKeys', 54], ['Zoological Systematics', 66], ['Zootaxa', 349], ['Other (23)', 42] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=810)', 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);