function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Lienhard, Charles', 2], ['Schmidt, Evan R. & Thornton, Ian W. B.', 1], ['Smithers, Courtenay Neville', 5], ['Thornton, Ian W. B. & New, Tim R.', 9], ['Thornton, Ian W. B. & Smithers, Courtenay Neville', 8], ['Thornton, Ian W. B. & Wong, Siu-Kai', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=31)', 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);