function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 106], ['C. G. Proft, Fil. et Soc.', 1], ['Far Eastern Entomologist', 38], ['Insecta Mundi', 2], ['Japanese Journal of Systematic Entomology', 1], ['Linzer biologische Beiträge', 195], ['Raffles Bulletin of Zoology', 3], ['Siegfried Lebrecht Crusius', 1], ['Zootaxa', 296] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=643)', 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);