function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 17], ['American Museum Novitates', 5], ['Biodiversity Data Journal', 8], ['Boletín de la Sociedad Entomológica Aragonesa (S. E. A.)', 2], ['Entomologische Mitteilungen', 10], ['Insecta Mundi', 4], ['Insects of Guam I', 2], ['Journal of Hymenoptera Research', 5], ['Linzer biologische Beiträge', 98], ['Papéis Avulsos de Zoologia', 4], ['Raffles Bulletin of Zoology', 12], ['Records of the Zoological Survey of India', 3], ['ZooKeys', 29], ['Zoological Studies', 10], ['Zootaxa', 236], ['Other (6)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=452)', 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);