function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Chichvarkhin, Anton', 1], ['Clark, Roger N. & Jewett, Stephen C.', 10], ['Eernisse, Douglas J. & Strathmann, Megumi F.', 3], ['Gale, Andy S. & Jagt, John W. M.', 1], ['Gerdes, Klaas & Kihara, Terue Cristina & Martinez Arbizu, Pedro', 1], ['Gray, John Edward', 1], ['Jangoux, Michel', 7], ['Kobayashi, Itaru & Kohtsuka, Hisanori & Fujita, Toshihiko', 2], ['Madeira, PatrĂ­cia & Kroh, Andreas & Cordeiro, Ricardo', 3], ['Mah, Christopher L.', 1], ['Ubagan, Michael Dadole & Lee, Taekjun & Kim, Philjae', 1], ['Xiao, Ning & Liao, Yulin & Liu, Ruiyu', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=41)', 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);