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