function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boulenger, George Albert', 2], ['Matthes, H.', 1], ['Poll, M. & Gosse, J. - P.', 2], ['Steindachner, F.', 1], ['Teugels, G. G. & Roberts, Tyson R.', 1], ['Winemiller, Kirk O. & Kelso-Winemiller, L. C.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=8)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);