function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bariche, Michel & Fricke, Ronald', 1], ['Böhlke, James E. & Böhlke, Eugenia B.', 1], ['Carneiro, Miguel & Martins, Rogélia & Landi, Monica', 1], ['David G. Smith', 1], ['Ho, Hsuan-Ching & Smith, David G. & Mccosker, John E.', 5], ['Kaup, Johann Jakob', 1], ['Love, Milton S. & Bizzarro, Joseph J. & Cornthwaite, Maria', 1], ['Prokofiev, Artem M.', 1], ['Smith, David G.', 2], ['Smith, David G. & Bogorodsky, Sergey V. & Mal, Ahmad O.', 2], ['Smith-Vaniz, William F. & Jelks, Howard L.', 2], ['Tudu, Prasad C.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=19)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);