function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Asian Myrmecology', 2], ['Biodiversity Data Journal', 1], ['Bulletin of the British Museum (Natural History) Entomology', 5], ['Entomologische Mitteilungen', 2], ['Linzer biologische Beiträge', 1], ['Memoires de l\'Institut Francais d\'Afrique Noire', 1], ['Myrmecologische Nachrichten', 17], ['Revue de Zoologie Africaine', 3], ['Verhandlungen der Zoologisch-Botanischen Gesellschaft in Wien', 2], ['ZooKeys', 2], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=37)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);