function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 2], ['Beiträge Zur Entomologie = Contributions to Entomology', 1], ['Bulletin de la Société Entomologique de France', 1], ['Contributions to Entomology', 1], ['Deutsche Entomologische Zeitschrift', 1], ['Insecta Mundi', 1], ['Linzer biologische Beiträge', 86], ['Tijdschrift voor Entomologie', 2], ['ZooKeys', 20], ['Zoological Systematics', 2], ['Zootaxa', 59] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=176)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);