function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Embacher, G. & Malicky, H. & A. E & R. A', 1], ['Fabricius, Johann Christian', 1], ['Linnaeus, Carolus', 23], ['Müller, Otto Friedrich', 1], ['Piller, Mathias & Mitterpacher, Ludovico', 1], ['Poda, Nicolaus', 1], ['Retzius, Anders Ja ̊ han', 1], ['Schrank, Franz von Paula', 1], ['Scopoli, G. A.', 1], ['Scopoli, Giovanni Antonio', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=32)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);