function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 121], ['Annales Historico-Naturales Musei Nationalis Hungarici', 6], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 46], ['Catalogue of the Chiroptera in the collection of the British Museum', 27], ['Catalogue of the Mammalia in the Museum of the East India Company', 12], ['European Journal of Taxonomy', 27], ['Handbook of the Mammals of the World – Volume 9 Bats', 110], ['Mammal Species of the World (1 st Edition)', 138], ['Mammal Species of the World (2 nd Edition)', 66], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 227], ['PLoS ONE', 23], ['Proceedings of the Zoological Society of London', 57], ['Zoological Series Of Field Museum Of Natural History', 8], ['Zoosystema', 6], ['Zootaxa', 27], ['Other (23)', 44] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=945)', 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);