function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 10], ['Bulletin of entomological research', 6], ['Can Ent', 4], ['Entomologist\'s monthly magazine', 6], ['Fauna of New Zealand', 5], ['Insecta Mundi', 126], ['Insects of Guam II', 6], ['Microentomology', 4], ['Proceedings of the Hawaiian Entomological Society', 6], ['Taxonomic Monographs on Neotropical Hymenoptera', 7], ['Transactions and proceedings of the New Zealand Institute', 17], ['Transactions and proceedings of the Royal Society of New Zealand', 7], ['ZooKeys', 223], ['Zoosystema', 51], ['Zootaxa', 248], ['Other (42)', 68] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=794)', 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);