-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added basic stacked bar plots #20
Conversation
Just a note here: there is survey data showing up in the notebook because its outputs haven't been cleared. We might want to clear the notebook and/or remove/comment out the |
Thanks a lot for catching that @michellewang! Just forced pushed to remove the notebook - let me know if things still don't look right. |
Looks good to me! Also realized that my screenshots in the other PRs also technically show data (in map colours/hoverboxes/bar plots) -- should I remove those as well or do you think it is less of an issue? |
- fix typos in variable names - add type hinting - use data loader
@michellewang I believe that’s fine for now, since that’s likely the desired behaviour for the plots in the app anyways ! |
Thanks @nikhil153 for your work on this 🎉. I pushed some minor clarity-related changes to the code and simplified the plot formatting a bit so it looks more like the Yale climate map bar plots. The stacked bars are currently still missing full-text labels for the actual outcomes ("Moderately agree", "Agree", etc...), but because I think we need additional info about which ones to use when the bars are binarized, I've opened a separate issue for that. Will merge this as is for now! |
Example of binarized stacked bar for 3+ threshold:
Example of stacked bar showing all Likert levels:
Example of binarized stacked bar, stratified by party: