function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales du Musee Royale de l\'Afrique Centrale, Zoologie, Serie 8', 1], ['Atti della Societa Toscana di Scienze Naturali, Series B', 1], ['Boletín de la Sociedad Geológica Mexicana', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 2], ['Bulletin of the Institute of Jamaica, Science Series', 1], ['Mitteilungen aus dem Zoologischen Museum in Berlin', 4], ['New Zealand journal of zoology', 3], ['Records of the Western Australian Museum', 2], ['Revista Ibérica de Aracnología', 1], ['Revue suisse de Zoologie', 4], ['Zootaxa', 5], ['carolinea', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=26)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);