function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 5], ['Acta Entomologica Musei Nationalis Pragae', 162], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 3], ['Berliner Entomologische Zeitschrift', 4], ['Biodiversity Data Journal', 3], ['European Journal of Taxonomy', 37], ['Insecta Mundi', 19], ['Japanese Journal of Systematic Entomology', 3], ['Japanese journal of systematic entomology', 5], ['Linzer biologische Beiträge', 6], ['Russian entomological journal', 5], ['Species Diversity', 2], ['The Coleopterists Bulletin', 31], ['ZooKeys', 10], ['Zootaxa', 340], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=642)', 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);