function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Johnston, M. Andrew', 5], ['Johnston, M. Andrew & Fleming, David & Franz, Nico M.', 38], ['Johnston, M. Andrew & Waite, Evan S. & Wright, Ethan R', 2], ['LeConte, John L.', 1], ['Pérez-Hernández, Cisteil Xinum', 2], ['Smith, Aaron D. & Dornburg, Rebecca & Wheeler, Quentin D.', 14], ['Thomas, Donald B.', 2], ['Thomas, Donald B. & Smith, Aaron D. & Triplehorn, Charles A.', 5], ['Triplehorn, Charles A.', 4], ['Triplehorn, Charles A. & Ruiz, Paulina Cifuentes', 1], ['Triplehorn, Charles A. & Thomas, Donald B.', 9], ['Triplehorn, Charles A. & Thomas, Donald B. & Rile, Edward G.', 34] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=117)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);