function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Blake, Joseph (Rev.)', 1], ['Conrad, Timothy Abbot', 3], ['Conrad, Timothy Abbott', 1], ['Rothpletz, (Friedrich) August & Simonelli, V.', 1], ['Smith, Edgar A.', 9], ['Sowerby, James DeCarle', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=19)', 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);