function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 41], ['Bulletin of the American Museum of Natural History', 57], ['European Journal of Taxonomy', 124], ['Journal of Natural History', 483], ['Memoirs of Museum Victoria', 25], ['Nauplius', 58], ['Raffles Bulletin of Zoology', 64], ['Records of the Australian Museum', 112], ['Species Diversity', 18], ['Subterranean Biology', 39], ['ZooKeys', 327], ['Zoological Journal of the Linnean Society', 193], ['Zoosystema', 136], ['Zoosystematics and Evolution', 37], ['Zootaxa', 1176], ['Other (79)', 226] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=3116)', 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);