function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Doorenweerd, Camiel & Austin, Kyhl A. & Rubinoff, Daniel', 1], ['Matthew J. Medeiros & Griffin L. Bianchi & Laurel R. Taschetta', 6], ['Medeiros, Matthew J. & Bianchi, Griffin L.', 2], ['Meyrick, Edward', 1], ['Philpott, Alfred', 1], ['Walsingham, T. de Gray Lord', 1], ['Young, James D. & Robertson, James A.', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=15)', 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);