function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Appolloni, Massimo & Smriglio, Carlo & Amati, Bruno', 2], ['Herbert, David G.', 15], ['Mariottini, Paolo & Smriglio, Carlo & Oliverio, Marco', 2], ['Nangammbi, T. C. & Herbert, D. G.', 3], ['Pacaud, Jean-Michel', 1], ['Poppe, Guido & Tagaro, Sheila & Goto, Yoshihiro', 1], ['Sowerby, James DeCarle', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=27)', 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);