function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 79], ['Biodiversity Data Journal', 2], ['European Journal of Taxonomy', 27], ['Geodiversitas', 4], ['Handbook of the Mammals of the World – Volume 9 Bats', 89], ['Journal of Threatened Taxa', 1], ['Mammal Species of the World (2 nd Edition)', 68], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 170], ['PLoS ONE', 22], ['Raffles Bulletin of Zoology', 3], ['Records of the Australian Museum', 4], ['Revue suisse de Zoologie', 9], ['Zoological Journal of the Linnean Society', 5], ['Zoosystema', 14], ['Zootaxa', 19], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=518)', 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);