function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 9], ['European Journal of Taxonomy', 21], ['Iheringia, Serie Zoologia', 1], ['Journal of Natural History', 8], ['Neotropical Biology and Conservation', 7], ['Oregon State Monographs Studies in Zoology', 1], ['PeerJ', 4], ['Proceedings of the Zoological Society of London', 1], ['Revue Suisse de Zoologie', 20], ['Verlag von Wilhelm Engelmann', 5], ['ZooKeys', 16], ['Zoosystema', 2], ['Zootaxa', 361] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=456)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);