function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Andersen, Michael J. & Fatdal, Lilly & Mauck III, William M.', 1], ['Nguyen, Jacqueline M. T. & Hand, Suzanne J. & Archer, Michael', 1], ['Pachycephalidae & Aegithalidae & Remizidae & Paridae & Sittidae', 2], ['Schoddei, Richard & Christidis, Les', 2], ['Sharpe, Richard Bowdler', 1], ['Vigors, Nicholas Aylward & Horsfield, Thomas', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=8)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);