function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 2], ['Linzer biologische Beiträge', 3], ['Raffles Bulletin of Zoology', 12], ['Revue suisse de Zoologie', 4], ['Revue suisse de zoologie', 4], ['Tijdschrift voor Entomologie', 1], ['Transactions of the American Entomological Society', 6], ['ZooKeys', 2], ['Zoological Systematics', 5], ['Zootaxa', 162] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=201)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);