function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Barr, Benjamin P. & Chapple, David G. & Hitchmough, Rodney A.', 1], ['Bell, Trent P & Patterson, Geoff B', 1], ['Chapple, David G. & Bell, Trent P. & Chapple, Stephanie N. J.', 6], ['Chapple, David G. & Patterson, Geoff B.', 1], ['Jewell, Tony R.', 3], ['Knox, Carey & Chapple, David G. & Bell, Trent', 1], ['Melzer, Sabine & Bell, Trent & Patterson, Geoff B.', 4], ['Melzer, Sabine & Hitchmough, Rod A. & Bell, Trent', 6], ['Patterson, Geoff B & Bell, Trent P', 2], ['Patterson, Geoff B.', 1], ['Patterson, Geoff B. & Hitchmough, Rod A. & Chapple, David G.', 4], ['Patterson, Geoff B. & Hitchmough, Rodney A.', 1], ['Whitaker, Tony & Chapple, David G. & Hitchmough, Rodney A.', 1], ['Worthy, Trevor H.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=33)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);