function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bates, Henry Walter', 2], ['Broun, Thomas', 16], ['Guérin-Méneville, Félix Édouard', 2], ['Johns, Peter Malcolm Mr.', 1], ['Larochelle & Larivière, Marie-Claude & Larochelle & Larivière', 35], ['Larochelle, André & Larivière, Marie-Claude', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=61)', 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);