function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin du Muséum national d’Histoire naturelle', 1], ['Bulletin of Entomological Research', 1], ['Memoirs of the Department of Agriculture in India, Entomological Series', 1], ['Notes d’Entomologie Chinoise (Musée Heude)', 1], ['Nouvelles Archives du Muséum d\'Histoire Naturelle, Paris, Série 5', 2], ['Revue Zoologique Africaine', 1], ['Spolia Zeylanica [Ceylon Journal Sci], Section B-Zoo', 1], ['ZooKeys', 3], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=15)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);