function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 4], ['Biodiversity Data Journal', 6], ['Bulletin of the British Museum (Natural History). Entomology', 9], ['CompCytogen', 8], ['Comparative Cytogenetics', 4], ['European Journal of Taxonomy', 4], ['Fauna of New Zealand', 62], ['Insecta Mundi', 146], ['Insects of Guam II', 8], ['Journal of Natural History', 14], ['Proceedings of the Hawaiian Entomological Society', 20], ['ZooKeys', 137], ['Zoological Systematics', 13], ['Zoosystema', 34], ['Zootaxa', 553], ['Other (32)', 49] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1071)', 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);