function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Asano, H. & Okamura, Osamu', 1], ['Fourmanoir, Pierre & Guézé, Paul', 1], ['Golani, Daniel & Baranes, Albert', 1], ['Hardy, Graham S.', 1], ['Last, Peter R. & Richards, William J.', 3], ['Richards, William J. & Yato, Takuji', 15], ['Yato, Takuji & Heemstra, Elaine', 1], ['Yatou, T. & Yamakawa, Takeshi', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);