function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 11], ['American Museum Novitates', 12], ['Bulletin of entomological research', 1], ['Conilon coffee - The Coffea canephora produced in Brazil', 1], ['Entomologist\'s monthly magazine', 1], ['Insecta Mundi', 3], ['Japanese Journal of Systematic Entomology', 1], ['The Journal of the Quekett Microscopical Club', 1], ['ZooKeys', 22], ['Zoological Systematics', 8], ['Zoosystema', 5], ['Zootaxa', 44] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=110)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);