function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Casali, Daniel M & Boscaini, Alberto & Gaudin, Timothy J', 1], ['Gray, John Edward', 2], ['Hidalgo-Mihart, Mircea G. & Contreras-Moreno, Fernando M.', 1], ['McKENNA, MALCOLM C. & WYSS, ANDRÉ R. & FLYNN, JOHN J.', 4], ['Russell A. Mittermeier & Don E. Wilson', 8], ['VOSS, ROBERT S. & LUNDE, DARRIN P. & SIMMONS, NANCY B.', 1], ['Voss, Robert S. & Fleck, David W.', 1], ['Wilson, Don E. & Reeder, DeeAnn', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=24)', 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);