function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Blaschke, F.', 1], ['Born, Ignaz von', 1], ['Cowie, Robert H.', 1], ['DeVries, Thomas J.', 2], ['Linnaeus, Carolus', 25], ['Low, Martyn E. Y. & Tan, Siong Kiat', 2], ['Müller, Otto Friedrich', 1], ['Röding, Peter Friedrich', 2], ['Sacchetti, Claudia & Landau, Bernard & Ávila, Sérgio P.', 2], ['Sowerby, James DeCarle', 1], ['Symonds, Malcolm Francis & Pacaud, Jean-Michel', 2], ['Zvonareva, Sofya & Kantor, Yuri', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=44)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);