function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Clerck, Carl Alexander', 3], ['Denis, Michael & Schiffermu ̈ ller, Ignaz', 291], ['Esper, Eugen Johann Christoph', 27], ['Fabricius, Johann Christian', 63], ['Geyer, Carl', 5], ['Haworth, Adrian Hardy', 7], ['Hufnagel, Johann Siegfried', 51], ['Hübner, Jacob', 383], ['Knoch, August Wilhelm', 4], ['Lewin, John William', 4], ['Linnaeus, Carolus', 145], ['Müller, Otto Friedrich', 5], ['Philpott, Alfred', 4], ['Scopoli, G. A.', 20], ['Stoll, Caspar', 22], ['Other (27)', 47] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=1081)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);