function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Societatis Regiae Scientiarum Indo-Neêrlandicae', 1], ['Biodiversity Data Journal', 5], ['Bulletin of the United States Fish Commission', 1], ['Check List', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 2], ['Schweizerbart', 1], ['Verhandelingen van het Bataviaasch Genootschap van Kunsten en Wetenschappen', 5], ['Zootaxa', 24], ['“ Meteor ” Forschungsergebnisse, D', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=41)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);