function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ashmead, William Harris', 1], ['Kurczewski, Frank E. & West, Rick C.', 1], ['Kurczewski, Frank E. & West, Rick C. & Waichert, Cecilia', 17], ['Lopez, Vinicius M. & Cardoso, Renan Kobal De Oliveira Alves', 1], ['Waichert, Cecilia & Rodriguez, Juanita & Pitts, James P.', 1], ['Waichert, Cecilia & Rodriguez, Juanita & Von Dohlen, Carol D.', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=23)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);