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

Candidate Maps #42

Open
Taitrnator opened this issue Oct 24, 2014 · 0 comments
Open

Candidate Maps #42

Taitrnator opened this issue Oct 24, 2014 · 0 comments

Comments

@Taitrnator
Copy link
Member

I aim to use these as expandable features for candidate cards. Looks like we'd still need a json file of some sort to cross-reference candidates, and donors, as well as their locations.

so when a user clicks an expand button, a state map opens.

we need angular skillz and maybe leaflet skillz also.
-A map of counties opens by default. (these maps do exist, see backend/data/ json files)
-if the candidate is running for state senator, SLDU districts open instead.
-if the candidate is running for state house, SLDL districts open instead.

if that gets accomplished quickly:

  • districts should "heat" based on total amount coming from people located inside the district.
    outline of each county is solid [hex #8d886e]. The counties/districts themselves should fill as a gradient [hex #529141]. (*Transparency corresponds a ratio of (total amount donated in the district/number of donors). then sort the counties/districts by that number, giving the highest numbers 100% fill, going down to 0%. So really the map highlights the outlier money, rather than actual money donated.)
    -if a user clicks on a district, the map zooms on that district and donors inside the district are pointed. Popup with name and money donated for each one.

*might be a new issue entirely.

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

No branches or pull requests

1 participant