function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Caucasian Entomological Bulletin', 1], ['Entomo Helvetica', 7], ['Linzer biologische Beiträge', 1], ['Revue suisse de Zoologie', 8], ['Schultz-Wundermann', 15], ['ZooKeys', 7], ['Zoosystema', 1], ['Zootaxa', 68] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=109)', 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);