function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Geoffroy Saint-Hilaire, E.', 2], ['Hulke, John Whitaker', 1], ['Scavezzoni, Isaure & Fischer, Valentin & Johnson, Michela M.', 7], ['Wilberg, Eric W. & Godoy, Pedro L. & Griffiths, Elizabeth F.', 2], ['Young, Mark T. & Brusatte, Stephen L. & Ruta, Marcello', 1], ['Young, Mark T. & Wilberg, Eric W. & Johnson, Michela M.', 2], ['Zaher, Hussam & Pol, Diego & Carvalho, Alberto B.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=16)', 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);