-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add disadvantaged communities choropleth map #100
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
@@ -0,0 +1,338 @@ | |||
[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I transformed the original CSV with a pivot table (in Apple Numbers) and re-exported to CSV. I used python to dump it to JSON, and find and replace to change TRUE and FALSE to NotDisadvantaged and Disadvantaged, etc.
9472707
to
5632f96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is working well, but there could be a couple of improvements (that granted could be captured in future cards)
- Adding a tooltip to each state with their disadvantaged percentage
- Adjusting the quartiles of the coloring to mre interestingly reflect the data. (There are no states above 75% (thankfully)
I took a quick pass at adding the tooltips, but I'm a little wary of wasted motion here since we're about to refactor this all into one map in #105, so I think commenting on that card makes sense 👍. Thanks for the review! |
5632f96
to
337940d
Compare
Overview
Add a choropleth map that colorizes states according to the % of their population living in a disadvantaged census tract as determined by the Climate and Economic Justice Screening Tool.
Closes #92
Demo
Testing Instructions
Checklist
fixup!
commits have been squashedCHANGELOG.md
updated with summary of features or fixes, following Keep a Changelog guidelinesREADME.md
updated if necessary to reflect the changes