function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Alpine Entomology', 7], ['American Museum Novitates', 23], ['Bishop Museum Bulletin in Entomology', 18], ['Diptera Sveciae', 11], ['European Journal of Taxonomy', 20], ['Far Eastern Entomologist', 101], ['Journal of Natural History', 6], ['Linzer biologische Beiträge', 17], ['Mémoires du Muséum national d\'Histoire naturelle', 8], ['Proceedings of the Hawaiian Entomological Society', 13], ['Records of the Australian Museum', 18], ['University of Texas Publications', 6], ['ZooKeys', 13], ['Zoological Science', 11], ['Zootaxa', 663], ['Other (26)', 52] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=987)', 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);