function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 25], ['Acarological Studies', 2], ['Acta Zoologica Academiae Scientiarum Hungaricae', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Biodiversity Data Journal', 40], ['International journal of acarology', 4], ['Journal of Natural History', 3], ['Linzer biologische Beiträge', 45], ['New Zealand Journal of Zoology', 2], ['Persian Journal of Acarology', 37], ['Prévôt', 1], ['Turkish Journal of Zoology', 5], ['Veröffentlichungen des Instituts für Meeresforschung Bremerhaven', 11], ['ZooKeys', 5], ['Zootaxa', 112] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=295)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);