function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 208], ['Australasian Journal of Herpetology', 176], ['Biodiversity Data Journal', 115], ['Bulletin of the American Museum of Natural History', 431], ['Check List', 235], ['Geodiversitas', 307], ['Laurentius Salvius', 171], ['Megataxa', 375], ['South American Journal of Herpetology', 412], ['Vertebrate Zoology', 180], ['ZooKeys', 219], ['Zoological Journal of the Linnean Society', 668], ['Zoosystema', 242], ['Zoosystematics and Evolution', 181], ['Zootaxa', 4547], ['Other (249)', 1641] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=10108)', 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);