function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bleeker, Pieter', 1], ['Carneiro, Miguel & Martins, Rogélia & Landi, Monica', 1], ['Chabanaud, P.', 1], ['De Vis, Charles Walter', 2], ['Durand, J.', 1], ['Edwards, A. J. & Gill, A. C. & Abohweyere, P. O.', 1], ['Evermann, Barton Warren & Seale, A.', 1], ['Gilchrist, J. D. F.', 2], ['Golani, Daniel & Bogorodsky, Sergey V.', 1], ['Günther, Albert Charles Lewis Gotthilf', 1], ['Ho, Hsuan-Ching & Shao, Kwang-Tsao', 1], ['Kaup, Johann Jakob', 1], ['Macleay, William John', 3], ['Mees, G. F.', 1], ['Peters, Wilhelm Carl Hartwig', 2], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);