function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bariche, Michel & Fricke, Ronald', 1], ['Carneiro, Miguel & Martins, Rogélia & Landi, Monica', 1], ['Edwards, A. J. & Gill, A. C. & Abohweyere, P. O.', 1], ['Evermann, Barton Warren & Shaw, T.', 1], ['Fowler, Henry Weed', 1], ['Golani, Daniel & Bogorodsky, Sergey V.', 1], ['Linnaeus, Carolus', 3], ['Liu, J. & Li, C. - S.', 1], ['Mitchill, S. L.', 1], ['Peck, W. D.', 1], ['Peters, Wilhelm Carl Hartwig', 1], ['Whitley, Gilbert P.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=14)', 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);