Analyzing the Gender Gap in CS

by Lily and Steven

About

We are two students studying at the University of Notre Dame. Lily is majoring in Mechanical Engineering; Steven is studying Computer Engineering.

We are studying this information to look at the gender gap in CS. This is important to consider given the rapid increase of interest in CS as a career.

Summary of Study

In this study, we analyzed results from the 2021 StateOfJS survey.

This study has revealed some interesting results:

  1. CS is 93% male.
  2. The United States of America ranks average on the gender distribution. See here.
  3. There doesn't appear to be much of a difference between the salaries of men and those of women.

Interactive Graphs

Here, we can see the gender distribution by Age. Most people involved in CS are in their 30's and 40's, so naturally, there are the most women in these age groups.

This plot analyzes the percentage of Males involved in Computer Science in different countries. The lowest percentage of Males is 76.5% in Moldova. Several countries have close to 100% including Peru, Kenya, Kazakhstan, and Pakistan. However, these countries all have a small sample size of less than 50. Countries with less than 10 responses were hidden.

While more people have either a CS related degree or no degree, the highest number of females in CS have a degree, even if it’s not CS related.

In analyzing the gender distribution across years of experience, we find that females tend to have less experience than men.

In analyzing gender distribution by race, we can find that the highest percentage of females fall under the East Asian, Native American Islander, and Australian, and multiracial races (in that order from highest to lowest), but the highest percentage of females in this survey is still only about 10%.

Looking at this bar graph, we see no correlation between salary and gender; there seems to be no noticeably higher percentage of women receiving a certain salary.