function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boeve, Jean-Luc & Dominguez, Diego F. & Smith, David R.', 4], ['Boeve, Jean-Luc & Marin-Armijos, Diego S. & Dominguez, Diego F.', 4], ['Davidson, T.', 2], ['Malagón-Aldana, Leonardo A. & Smith, David R. & Vilhelmsen, Lars', 1], ['Smith, David R. & Janzen, Daniel H. & Hallwachs, Winnie', 2], ['Smith, David R. & Nishida, Kenji', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=14)', 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);