function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 3], ['Acta Zootaxonomica Sinica', 7], ['African Invertebrates', 2], ['African invertebrates', 1], ['Annales de la Société Entomologique de France, Séries 1 - 6', 1], ['Biodiversity Data Journal', 3], ['Bulletin of the American Museum of Natural History', 20], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 1], ['European Journal of Taxonomy', 57], ['Journal of Natural History', 15], ['Vestnik Zoologii', 1], ['ZooKeys', 20], ['Zoological Systematics', 2], ['Zoosystema', 1], ['Zootaxa', 41] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=175)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);