function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abhandlungen der Senckenbergischen Naturforschenden Gesellschaft', 1], ['African Invertebrates', 2], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 4], ['Biodiversity Data Journal', 3], ['Boletin de la Sociedad Entomológica Aragonesa', 3], ['European Journal of Taxonomy', 40], ['Journal of Natural History', 85], ['Journal of arachnology', 4], ['Raffles Bulletin of Zoology', 4], ['Revista Ibérica de Aracnología', 2], ['ZooKeys', 165], ['Zoological Journal of the Linnean Society', 21], ['Zoological Systematics', 2], ['Zoosystema', 6], ['Zootaxa', 227], ['Other (9)', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=578)', 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);