function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales Societe Entomologique France', 6], ['Biodiversity Data Journal', 1], ['Bulletins de l\'Académie royale des sciences, des lettres et des beaux-arts de Belgique', 1], ['Insecta matsumurana', 2], ['Linzer biologische Beiträge', 2], ['Miscellanea Zoologica Sumatrana', 3], ['Mémoires du Muséum national d\'Histoire naturelle', 3], ['Odonatologica', 1], ['Proceedings of the Royal Entomological Society of London', 1], ['Transactions of the Entomological Society of London', 5], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=31)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);