function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bello, Giambattista', 10], ['Bello, Giambattista & Salman, Alp', 2], ['Berry, Samuel Stillman', 3], ['Kirk, Thomas W.', 1], ['Leach, William Elford', 1], ['Lu, C. C. & Boucher-Rodoni, R.', 2], ['Reid, Amanda L. & Strugnell, Jan M.', 12], ['Sanchez, Gustavo & Jolly, Jeffrey & Reid, Amanda', 3], ['Sasaki, Madoka', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=35)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);