function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 35], ['American Museum Novitates', 8], ['Bulletin of the American Museum of Natural History', 9], ['European Journal of Taxonomy', 6], ['Fossil Imprint', 4], ['Handbook of the Mammals of the World – Volume 9 Bats', 127], ['Journal of Mammalogy', 4], ['Mammal Species of the World (1 st Edition)', 89], ['Mammal Species of the World (2 nd Edition)', 85], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 162], ['Mammalia', 4], ['PLoS ONE', 9], ['Therya', 15], ['Vertebrate Zoology', 14], ['Zootaxa', 23], ['Other (21)', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=633)', 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);