function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abhandlungen der Königlichen Akademie der Wissenschaften zu Berlin', 1], ['Archives du Muséum d\'Histoire Naturelle de Lyon', 1], ['Biodiversity Data Journal', 76], ['Bulletin of the American Museum of Natural History', 6], ['European Journal of Taxonomy', 2], ['Geodiversitas', 30], ['Journal of Natural History', 12], ['Journal of Paleontology', 4], ['Linzer biologische Beiträge', 3], ['Raffles Bulletin of Zoology', 1], ['Species Diversity', 11], ['Zoosystema', 3], ['Zootaxa', 90] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=240)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);