House of Reps. Diversity
- Michael Wrede
- Jul 12, 2020
- 1 min read
I had just taken a code academy introduction to data science class and wanted to put what I learned to use. So, I found an excel doc online with all the US House of Reps and then made some graphs using python and wanted to show you my findings. This is absolutely something that could be done on excel, it's just that python lets you deal with some of the intricacies of the data much better. Python is much rawer and you can understand what you are doing much better.
U.S House of Reps:

So this is the makeup of the total US house of reps which as you can see is unsurprisingly very white and not representative of the US population as a whole.
U.S. Republicans in House of Reps:

As you can see the Republican Party is overwhelmingly white except for a few Hispanic politicians.
U.S. Democrats in House of Reps:

This is where the difference between the two parties when it comes to race becomes so apparent. Comparing this graph and the one above shows the stark demographic differences between the two parties.
U.S. Republicans and Democrats:


These last two just further make the point and demonstrate how not only how racially more diverse the democratic party is but also when it comes to gender as well.
Final Notes:
I hope you enjoyed these graphs and that they gave you insight into your understanding of the two parties. I am constantly trying to find new ways to use data in life and this was a cool experiment to see what I could do with python.
Commentaires