function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Astuti, Giovanni & Cristofolini, Giovanni & Peruzzi, Lorenzo', 1], ['Astuti, Giovanni & Liu, Lijuan & Peruzzi, Lorenzo', 2], ['Becherer', 5], ['Info Flora', 12], ['Jarvis, Charlie', 3], ['Konrad Lauber & Gerhart Wagner & Andreas Gygax', 8], ['Linnaeus, Carolus', 5], ['Novikov, Andriy', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=37)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);