function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['De Loriol, P.', 1], ['Gray, John Edward', 2], ['Jangoux, Michel', 4], ['Madeira, PatrĂ­cia & Kroh, Andreas & Cordeiro, Ricardo', 1], ['Mah, Christopher', 2], ['Mah, Christopher & Foltz, David', 1], ['Mah, Christopher L.', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=15)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);