function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 38], ['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', 111], ['Species Diversity', 18], ['Subterranean Biology', 39], ['ZooKeys', 318], ['Zoological Journal of the Linnean Society', 193], ['Zoosystema', 136], ['Zoosystematics and Evolution', 37], ['Zootaxa', 1172], ['Other (78)', 225] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=3098)', 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);