function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anderson, William D.', 4], ['Kamohara, T.', 1], ['Katayama, M. & Masuda, Hajime', 1], ['Pinheiro, Hudson T. & Rocha, Claudia & Rocha, Luiz A.', 1], ['Pyle, Richard L. & Greene, Brian D. & Copus, Joshua M.', 1], ['Pyle, Richard L. & Greene, Brian D. & Kosaki, Randall K.', 1], ['William D. Anderson, Jr.', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=13)', 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);