function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Entomologique de France, Séries 1 - 6', 3], ['Annales du Musée Royal du Congo Belge, Série 8, Zoologiques', 1], ['Berliner Entomologische Zeitschrift', 1], ['Berliner entomologische Zeitschrift', 1], ['Bulletin de la Société Entomologique de France', 1], ['Bulletin of the United States National Museum', 1], ['Transactions of the Entomological Society of London', 1], ['ZooKeys', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=38)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);