function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 18], ['American Museum Novitates', 3], ['European Journal of Taxonomy', 9], ['Geodiversitas', 1], ['Handbook of the Mammals of the World – Volume 9 Bats', 37], ['International Journal of Biological Sciences', 1], ['Mammal Species of the World (1 st Edition)', 9], ['Mammal Species of the World (2 nd Edition)', 11], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 33], ['Neues Jahrbuch für Geologie und Paläontologie', 1], ['PLoS ONE', 3], ['Raffles Bulletin of Zoology', 2], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 3], ['Zootaxa', 10], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=146)', 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);