function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 2], ['Annales de la Societe Entomologique de Belgique, Comptes-rendus des Seances', 1], ['Berliner Entomologische Zeitschrift', 2], ['Biodiversity Data Journal', 3], ['Caucasian Entomological Bulletin', 2], ['Deutsche Entomologische Zeitschrift', 1], ['Journal of Hymenoptera Research', 1], ['Psyche', 6], ['ZooKeys', 36], ['Zoosystema', 1], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', 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);