ALEXA'S FINAL PROJECT
When I first started this project I had not decided what I wanted to make. I knew that I wanted to use visuals to repersent data but I was not sure what data I wanted to show.
Eventually I chose to make this project and show gender inequalities because that was always something that intrested me.
I was inspired by some of my community service and discussions with my peers to learn more about gender inequality in workplaces.
I used javascript and css to code ways to repersent data that made statitics easy for people to understand.
For my first visual, I repersentated data about how much women athletes are paid verses men athletes. In this code, I used "document.CreateElement" to create divs. Previously in the code I made a class for women and a class for man, which made pink circles for women and blue circles for men. I created divs using the class styling. I then used "var" to create a certian amount of women divs and a certian amount of men divs. Using classlist helped me so that I did not have to make multiple seperate divs.
Here is a photo of the code:
Here is another way that I used classList: