function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 64], ['American Museum Novitates', 8], ['Annals and Magazine of Natural History, 8 th series', 7], ['European Journal of Taxonomy', 60], ['Handbook of the Mammals of the World – Volume 9 Bats', 189], ['Journal of Natural History', 2], ['Mammal Species of the World (1 st Edition)', 204], ['Mammal Species of the World (2 nd Edition)', 208], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 384], ['Mammalian Species', 2], ['PLoS ONE', 19], ['Raffles Bulletin of Zoology', 9], ['Records of the Australian Museum', 21], ['Zoosystema', 28], ['Zootaxa', 45], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1253)', 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);