function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 115], ['Bulletin de la Societe Vaudoise des Sciences Naturelles', 10], ['Bulletin du Muséum National d’Histoire Naturelle, Série 4, Section A, Zoologie, Biologie et Écologie d’Animal', 8], ['Ecologica Montenegrina', 6], ['European Journal of Taxonomy', 176], ['Journal of Natural History', 135], ['Journal of Threatened Taxa', 10], ['Nematologica', 15], ['Nematology', 27], ['Species Diversity', 17], ['Systematic Parasitology', 6], ['Transactions of the Linnean Society of London', 11], ['ZooKeys', 10], ['Zoological Journal of the Linnean Society', 27], ['Zootaxa', 867], ['Other (22)', 37] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1477)', 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);