function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Societatis Regiae Scientiarum Indo-Neêrlandicae', 1], ['Biodiversity Data Journal', 1], ['Bulletin de la Société Philomathique de Paris, Série 7', 1], ['Bulletin of the United States National Museum', 1], ['Check List', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 5], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=15)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);