function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Erxleben, J. C. P.', 1], ['Fabricius, O.', 1], ['Jackson, Stephen M. & Jansen, Justin J. F. J.', 1], ['James H. Honacki & Kenneth E. Kinman & James W. Koeppl', 8], ['Jo, Yeong-Seok & Baccus, John T. & Koprowski, John L.', 2], ['Koretsky, I. A. & Rahmat, S. J. & Peters, N.', 1], ['Linnaeus, Carolus', 5], ['Russell A. Mittermeier & Don E. Wilson', 2], ['W. Christopher Wozencraft', 8], ['Wilson, Don E. & Reeder, DeeAnn', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=36)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);