function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ballière', 17], ['Biodiversity Data Journal', 129], ['Check List', 3], ['Insecta Mundi', 16], ['Insects of Guam II', 12], ['Journal of Hymenoptera Research', 20], ['Journal of Natural History', 165], ['Linzer biologische Beiträge', 35], ['Proceedings of the Entomological Society of Washington', 7], ['Proceedings of the Hawaiian Entomological Society', 5], ['Systematic entomology', 10], ['Turkish Journal of Zoology', 9], ['United States Department of Agriculture Technical Series Bulletin', 4], ['ZooKeys', 13], ['Zootaxa', 86], ['Other (20)', 26] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=557)', 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);