function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 27], ['Alpine Entomology', 12], ['Arthropod Systematics & amp; Phylogeny', 8], ['Biodiversity Data Journal', 44], ['Check List', 21], ['Entomologist\'s monthly magazine', 11], ['European Journal of Taxonomy', 37], ['Far Eastern Entomologist', 35], ['Fauna of New Zealand', 11], ['Insecta Mundi', 52], ['Journal of Natural History', 50], ['Memoirs of Museum Victoria', 25], ['Revue suisse de Zoologie', 55], ['ZooKeys', 328], ['Zootaxa', 1171], ['Other (29)', 83] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1970)', 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);