function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Venezuelica', 29], ['Annales Societe Entomologique France', 19], ['Biodiversity Data Journal', 120], ['Insecta Mundi', 15], ['Insecta matsumurana', 12], ['Journal of Natural History', 11], ['Laurentius Salvius', 19], ['Miscellanea Zoologica Sumatrana', 65], ['Mémoires du Muséum national d\'Histoire naturelle', 89], ['Odonatologica', 17], ['Oriental Insects', 18], ['Proceedings of the Royal Entomological Society of London', 17], ['Transactions of the Entomological Society of London', 23], ['Wiener Entomologische Monatschrift', 18], ['Zootaxa', 133], ['Other (31)', 103] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=708)', 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);