function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arthropod fauna of the UAE', 3], ['Biodiversity Data Journal', 2], ['C. G. Proft, Fil. et Soc.', 1], ['European Journal of Taxonomy', 6], ['Far Eastern Entomologist', 24], ['Journal of the Proceedings of the Linnean Society of London, Zoology', 10], ['Linzer biologische Beiträge', 7], ['Officina Libraria Kortii', 1], ['Zootaxa', 40] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=94)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);