function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bharathidasan, Veeraiyan & Sarathy, Palanivel Partha', 2], ['Capa, María & Faroni-Perez, Larisse & Hutchings, Pat', 6], ['Capa, María & Hutchings, Pat & Peart, Rachael', 18], ['Chávez-López, Yessica', 32], ['Costa, Dimitri de Araujo & Dolbeth, Marina & Prata, Jessica', 1], ['Faulwetter, Sarah & Simboura, Nomiki & Katsiaras, Nikolaos', 10], ['Gunton, Laetitia M. & Kupriyanova, Elena K. & Alvestad, Tom', 4], ['Hutchings, Pat & Capa, María & Peart, Rachael', 16], ['McIntosh, William C.', 2], ['Mikac, Barbara', 2], ['Nishi, Eijiroh & Bailey-Brock, Julie Helen', 6], ['Salazar-Vallejo, Sergio I. & Carrera-Parra, Luis F.', 7], ['Santos, André Souza Dos & Brasil, Ana Claudia Dos Santos', 6], ['Yanez-Rivera, Beatriz & Tovar-Hernandez, Maria Ana', 3], ['Zhang, Jinghuai & Hutchings, Pat & Burghardt, Ingo', 4], ['Other (8)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=127)', 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);