function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Baehr, Martin', 3], ['Baehr, Martin & Reid, Chris A. M.', 3], ['Britton, Everard B.', 13], ['Larochelle & Larivière, Marie-Claude & Larochelle & Larivière', 2], ['Liebherr, James K.', 384], ['Liebherr, James K. & Krushelnycky, Paul D.', 1], ['Liebherr, James K. & Marris, John W. M. Mr.', 4], ['Perrault, G. G.', 62] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=472)', 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);