function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ahyong, Shane T. & Taylor, Joanne & Mccallum, Anna W.', 13], ['Baba, Keiji', 3], ['Baba, Keiji & Macpherson, Enrique & Poore, Gary C. B.', 17], ['Cabezas, P. E.', 40], ['Cabezas, Patricia & Macpherson, Enrique', 4], ['Cabezas, Patricia & Macpherson, Enrique & Machordom, Annie', 14], ['Hryniewicz, Krzysztof & Amano, Kazutaka', 4], ['Komai, Tomoyuki & Tsuchida, Shinji & Fujiwara, Yoshihiro', 4], ['Macpherson, E. & Machordom, A.', 3], ['Macpherson, Enrique & Baba, Keiji', 18], ['Macpherson, Enrique & Rodriguez-Flores, Paula C.', 9], ['Macpherson, Enrique & Rodríguez-Flores, Paula C.', 28], ['Osawa, Masayuki', 3], ['Tiwari, Shivam & Padate, Vinay P. & Cubelio, Sherine Sonia', 5], ['Vazquez-Bader, Ana Rosa & Gracia, Adolfo', 9], ['Other (16)', 22] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=196)', 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);