At the moment, the Budget only describes how many people supported the budget out of the population, not why people did or did not support the budget. The idea would be to add a component that grabs a random few citizens and shows different information relating to why they voted the way they did.
[x] Create a portion of the page where citizen's information can be displayed, including their attributes, what they voted for, and if they voted no, details on what the budget would've needed to be for them to vote yes
[x] Create a function that will randomly select a number of citizens and show the above information about them
[x] Create a button that can be used to generate the citizens or even a new number of citizens to display
[x] Give the user the ability to show and hide this information
At the moment, the Budget only describes how many people supported the budget out of the population, not why people did or did not support the budget. The idea would be to add a component that grabs a random few citizens and shows different information relating to why they voted the way they did.