If you haven't already, check out StackOverflow's Developer Survey. The historical data goes back to 2015.
Strangely, it looks like the 2023 StackOverflow survey opted not to collect gender among their demographics responses. IIRC, the breakdown is approximately 90% male, 5% female, 1-2% non-binary, 1-2% prefer not to answer or prefer writing their own response. https://survey.stackoverflow.co/2023/