function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 564], ['American Museum Novitates', 56], ['Bulletin of the American Museum of Natural History', 285], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 46], ['European Journal of Taxonomy', 304], ['Handbook of the Mammals of the World – Volume 9 Bats', 1400], ['Journal of Mammalogy', 35], ['Mammal Species of the World (1 st Edition)', 1111], ['Mammal Species of the World (2 nd Edition)', 1110], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 2185], ['PLoS ONE', 120], ['Proceedings of the Zoological Society of London', 57], ['Records of the Australian Museum', 55], ['Zoosystema', 93], ['Zootaxa', 370], ['Other (76)', 523] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=8314)', 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);