Although there is no unified federal reporting system that records the citizenship status & race of every graduate student, the Census through the American Community Survey does ask about undergraduate major (but not graduate major), school enrollment status, citizenship status, and race, which can be used as a rough proxy (and can help illuminate recent debates in the US about H1-B employment and the status of the US educational system). Notably for Census purposes, "Asians" includes those who are from India, China, Korea, Japan, and many other countries; "non-citizens" includes those on green cards, student visas, among other authorized and unauthorized statuses.
In the 2023 American Community Survey, there were 55,247 respondents who reported "Mathematics" as their undergraduate major who are currently enrolled in higher graduate studies. 10,958 (20%) of them are non-citizens, 12,666 (23%) of them are Asians, and 8,960 (16%) of them are non-citizen Asians
There were 29,216 respondents who reported "Chemical Engineering" as their undergraduate major who are currently enrolled in higher graduate studies. 6,591 (22.6%) of them are non-citizens, 7,164 (25%) of them are Asians, and 3,368 (12%) of them are non-citizen Asians.
There were 65,128 respondents who reported "Mechanical Engineering" as their undergraduate major who are currently enrolled in higher graduate studies. 15,941 (24%) of them are non-citizens, 16,283 (25%) of them are Asians, and 10,235 (16%) of them are non-citizen Asians.
There were 70,812 respondents who reported "Electrical Engineering" as their undergraduate major who are currently enrolled in higher graduate studies, 25,706 (36%) of them are non-citizens, 27,891 (39%) of them are Asians, and 18,746 (26%) of them are non-citizen Asians.
There were 98,977 respondents who reported "Computer Science" as their undergraduate major who are currently enrolled in higher graduate studies, 38,636 (39%) of them are non-citizens, 41,479 (42%) of them are Asians, and 30,360 (31%) of them are non-citizen Asians.
Tabulated data
Item-level response data