function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Venezuelica', 13], ['Annales Societe Entomologique France', 13], ['Biodiversity Data Journal', 67], ['Miscellanea Zoologica Sumatrana', 29], ['Mémoires du Muséum national d\'Histoire naturelle', 20], ['New Zealand journal of zoology', 10], ['Odonatologica', 14], ['Oriental Insects', 9], ['Proceedings of the Royal Entomological Society of London', 9], ['Systematic Entomology', 72], ['The Ohio Journal of Science', 15], ['Transactions of the Entomological Society of London', 14], ['Treubia', 12], ['ZooKeys', 11], ['Zootaxa', 324], ['Other (21)', 42] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=674)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);