function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Alpine Entomology', 8], ['American Museum Novitates', 4], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 14], ['Biodiversity Data Journal', 297], ['Bulletin of the American Museum of Natural History', 26], ['E. W. Janson', 6], ['European Journal of Taxonomy', 292], ['Far Eastern Entomologist', 15], ['Journal of Hymenoptera Research', 200], ['Journal of Melittology', 3], ['Journal of Natural History', 3], ['Linzer biologische Beiträge', 164], ['Papéis Avulsos de Zoologia', 14], ['ZooKeys', 97], ['Zootaxa', 1105], ['Other (10)', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2262)', 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);