For tech in particular, see the Kapor Center's report: https://www.kaporcenter.org/tech-leavers/ (which, it should be noted, reports on people who have left tech: the percentages in that report should not be read as the fraction of people in tech who decide to leave).
For example, when "left due to unfair treatment" is unpacked by group, white women are the lowest percentage! (28% vs. 38% for white/asian men).
Why, then, are other people commenting here claiming that bad treatment of women is the main reason they leave tech, and at alarming numbers, no less?
Also, it's certainly the case that unfair treatment is a problem worth solving regardless of gender.
(I don't think the design of that particular study was equipped to answer the question of what the raw fraction is / whether the numbers are in fact alarming, so people who are making that claim are not making it solely on the basis of information in that study.)
Well since these are claims you can undoubted produce data that all of these issues are significant across the entire field?