function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales Zoologici', 5], ['Arthropod fauna of the UAE', 21], ['Asian Myrmecology', 4], ['Beiträge Zur Entomologie = Contributions to Entomology', 3], ['Biodiversity Data Journal', 8], ['Egyptian Journal of Natural History', 6], ['Entomologists Record and Journal of Variation', 3], ['European Journal of Taxonomy', 6], ['Israel Journal Of Entomology', 6], ['Journal of Natural History', 106], ['Myrmecologische Nachrichten', 14], ['Verhandlungen der Zoologisch-Botanischen Gesellschaft in Wien', 4], ['ZooKeys', 17], ['Zoosystema', 6], ['Zootaxa', 7], ['Other (10)', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=231)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);