function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Hershler, Robert & Liu, Hsiu-Ping', 7], ['Hershler, Robert & Liu, Hsiu-Ping & Babbitt, Caitlin', 3], ['Hershler, Robert & Liu, Hsiu-Ping & Bradford, Corbin', 5], ['Hershler, Robert & Liu, Hsiu-Ping & Forsythe, Cynthia', 3], ['Hershler, Robert & Ratcliffe, Victoria & Liu, Hsiu-Ping', 3], ['Perez, Kathryn E. & Hutchins, Benjamin T. & Solis, Megan', 1], ['Perez, Kathryn E. & Leal, Manuel Spor & Glover, Houston', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);