function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 76], ['Australasian Journal of Herpetology', 163], ['Biodiversity Data Journal', 115], ['Bulletin of the American Museum of Natural History', 238], ['Check List', 221], ['Geodiversitas', 192], ['Journal of Natural History', 80], ['Laurentius Salvius', 159], ['Raffles Bulletin of Zoology', 75], ['South American Journal of Herpetology', 412], ['Vertebrate Zoology', 280], ['ZooKeys', 263], ['Zoological Journal of the Linnean Society', 198], ['Zoosystema', 242], ['Zootaxa', 4275], ['Other (137)', 859] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=7848)', 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);