function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 8], ['Bulletin of the National Museum of Nature and Science. Series A, Zoology', 2], ['Communications biology', 2], ['Deutsche Entomologische Zeitschrift', 2], ['European Journal of Taxonomy', 19], ['Fossil Record', 6], ['Journal of Hymenoptera Research', 5], ['Journal of Species Research', 12], ['Kongl. Vetenskaps Academiens Handlingar', 1], ['Linzer biologische Beiträge', 14], ['Natural History Sciences', 1], ['Trustees of the British Museum', 1], ['Zootaxa', 56] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=129)', 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);