After going through multiple ideas we fixed on the idea of creating visualisations using data from the professions/occupations Barbie dolls have had over the years.

Part 1 - Building a Simple Bar Graph

We decided to focus on creating one graph with one data set. We decided to use the data set we created, and for the graph, we were inspired by an article (Link) of the pudding.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/ed46d2f0-b5ad-4920-ad1d-2c3108171bed/Screenshot_2020-12-09_at_10.25.32_PM.png

We spent 2 hours learning about D3, using these tutorials.

Then we took this example, and started playing around with it.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a704a7e7-eaf1-4712-be49-8239bdd4298f/Screenshot_2020-12-09_at_10.27.41_PM.png

We separated the large HTML code into Javascript and CSS using Glitch. Glitch was also great for coding together and seeing the changes we made in real-time. We went through the code and searched all the functions we did not know in D3 API to understand what each of them was doing.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/645833ac-a3dc-415e-96e9-2e12f54e9b55/Screenshot_2020-12-06_at_3.04.06_AM.png

Then we replaced the tsv file without data, that we created in a google sheet.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/808978c9-e8dc-4561-b547-3b7266975c36/unknown-4.png

Our data was much longer than the example code. We learned that the mapping for the Y axis was fixed, and that's why all our text was squashed. So we made the Y and the X larger, adjusted the padding and text size, and got it to show our data in a bit more decent way.