function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 2], ['Amurian Zoological Journal', 1], ['Arquivos entomolóxicos', 3], ['Baltic Journal of Coleopterology', 2], ['Biodiversity Data Journal', 2], ['Linzer biologische Beiträge', 15], ['Mémoires du Muséum national d\'Histoire naturelle', 2], ['The Coleopterists Bulletin', 1], ['Zeitschrift für die Entomologie, herausgegeben von Ernst Friedrich Germar', 1], ['ZooKeys', 3], ['Zootaxa', 67] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=99)', 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);