function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de Limnologie - International Journal of Limnology', 2], ['Biodiversity Data Journal', 36], ['Check List', 21], ['Entomologist\'s monthly magazine', 6], ['Far Eastern Entomologist', 2], ['Fauna of New Zealand', 8], ['Insecta Mundi', 17], ['Memoirs of Museum Victoria', 3], ['Records of the Canterbury Museum', 2], ['Revue suisse de Zoologie', 2], ['ZooKeys', 10], ['Zoological Science', 1], ['Zootaxa', 260] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=370)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);