It would be useful to calculate the percentage difference between n_group/n_population and n_group_course/n_course. This would essentially calculate a "representivity" score for that course.
So, for example, according to the 2010 US Census, Black or African Americans constitute 12.6% of the population. However, according to [1], they constitute only ~5% of the CS degrees awarded. Therefore the score for CS and Black or African Americans is |12.6 - 5|/12.6 = ~60% underrepresentation.