Skip to content
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

After the region type and region are selected, show a map of the choices #64

Open
shansen5 opened this issue Jul 22, 2020 · 2 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@shansen5
Copy link
Collaborator

Let the user see the counties, zip code boundaries, congressional districts, as in the Sunrise notebook.

@Frijol Frijol added the enhancement New feature or request label Oct 12, 2021
@Frijol
Copy link
Contributor

Frijol commented Oct 12, 2021

More context:

The Cross-Program Notebook (https://colab.research.google.com/github/edgi-govdata-archiving/ECHO-Cross-Program/blob/main/ECHO-Cross-Programs.ipynb) lets you select various types of region for analysis. Cell 2 asks you for a type of region; Cell 3 asks for a state. Cell 4 then asks which region you would like to select from that region type within that state area. It would be great to show users visual boundaries on a map to show the available areas.

We already have the geojson boundaries and use Folium in the Notebook, so this should be a pretty quick feature to add!

I think the ideal UX would be a zoomable map that shows borders between regions, then labels and transparently highlights each region on hover.

@Frijol
Copy link
Contributor

Frijol commented Oct 27, 2021

There is code towards this already that @ericnost worked on in get_spatial_data and show_map in https://github.com/edgi-govdata-archiving/ECHO_modules/blob/reorganization/class.py

ericnost added a commit to edgi-govdata-archiving/ECHO_modules that referenced this issue Nov 3, 2021
`get_spatial_data`, its helper `selector`, and `show_map`

addresses edgi-govdata-archiving/ECHO-Cross-Program#64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants