function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 53], ['Acarological Studies', 1], ['Acta Zoologica Academiae Scientiarum Hungaricae', 4], ['Annals of the Entomological Society of America', 1], ['Biodiversity Data Journal', 1], ['Can J Zool', 1], ['Ecologica Montenegrina', 4], ['Journal of Natural History', 6], ['Linzer biologische Beiträge', 17], ['Persian Journal of Acarology', 38], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 10], ['Transactions of the American Philosophical Society', 3], ['Veröffentlichungen des Instituts für Meeresforschung Bremerhaven', 28], ['ZooKeys', 9], ['Zootaxa', 1338], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1516)', 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);