function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beiträge Zur Entomologie = Contributions to Entomology', 1], ['Biodiversity Data Journal', 4], ['C. G. Proft, Fil. et Soc.', 5], ['Carolum Reichard', 5], ['Far Eastern Entomologist', 2], ['Journal of Natural History', 3], ['Linzer biologische Beiträge', 86], ['Proft et Storch', 3], ['Skrivter af Naturhistorie-Selskabet', 2], ['Zootaxa', 36] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=147)', 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);