function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 34], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 7], ['Australian Journal of Zoology', 10], ['Ballière', 7], ['Biodiversity Data Journal', 284], ['Deutsche Entomologische Zeitschrift', 21], ['Insecta Mundi', 12], ['Journal of Hymenoptera Research', 434], ['Journal of Natural History', 86], ['Linzer biologische Beiträge', 198], ['Proceedings of the Royal Society of Queensland', 9], ['Transactions of the Entomological Society of London', 14], ['ZooKeys', 511], ['Zoosystema', 11], ['Zootaxa', 299], ['Other (68)', 145] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2082)', 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);