Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Democracy Visualization #66

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

Democracy Visualization #66

wants to merge 22 commits into from

Conversation

meesuekim
Copy link
Contributor

@meesuekim meesuekim commented Mar 6, 2020

Created a separate React Quiz Component (Completely factored out so any group should be able to use it):

  • scoreTracker: displays current question number and current score
  • answerChoices: displays the answer choices on the actual page
  • quiz: displays question
  • displayScore: displays final score at the end
  • quizFrame: puts all of these components together into one function Quiz Component

Database:

  • json file
    • list of dictionaries, with questions key mapping to question and answers key mapping to multiple answer choices
    • separated into its own file and imported into main app

opheez and others added 22 commits February 14, 2020 17:39
question database: currently an object in json format
created QuestionDataBase class that renders the question
there are a couple bugs that need to be fixed, but hopefully once those are dealt with this will work!!
there is still something that is not working..
we still need to add a couple components that gives visual feedback and i dont think the answer checker is working properly but something is showing up :))
Copy link
Member

@ryaanahmed ryaanahmed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really great technical work here -- particularly that you made the quiz its own component that we can now reuse in all sorts of places!

This prototype isn't quite ready for primetime, though, because it needs to have some real questions and answers before a user can interact with it and get a sense of how the final version is going to be useful. Right now, clicking on "Answer 1" for "Question 1" doesn't give me a good sense of how I'll interact with the map in order to investigate the questions being posed.

Please draft even just one or two real questions inside of this tech framework, and then we'll be in good shape to show @evanlieb! They don't have to be super sophisticated, but should require the player to interact with the map to answer. (e.g., what country had the highest score in X year? -- what country experienced the largest growth in this score between X and Y years? -- etc.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants