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

Update utilities.py with a point symbol mapper #24

Merged
merged 1 commit into from
Apr 26, 2021
Merged

Conversation

ericnost
Copy link
Member

Adds a function to the utilities file to display a point symbol map of the Dataframe passed in. A point symbol map represents each facility as a point, with the size of the point scaled to the data value (e.g. inspections, violations) proportionally or through quartiles.

See example use here: https://colab.research.google.com/drive/1-cYD4Kpq5_BWp4AV1xiupZDiFNgggAI_#

CWA inspections in the HUC12 watersheds intersecting with zip code 14226 (boundaries not shown). Orange circles proportionally scaled to the number of inspections, black circles = CWA-regulated facilities not inspected.
Screen Shot 2021-04-21 at 6 51 32 PM

CWA penalties in the HUC12 watersheds intersecting with zip code 14226 (boundaries not shown). Orange circles scaled via quartiles to the total penalties levied, black circles = other CWA-regulated facilities not penalized.
Screen Shot 2021-04-21 at 6 53 29 PM

Adds a function to the utilities file to display a point symbol map of the Dataframe passed in. A point symbol map represents each facility as a point, with the size of the point scaled to the data value (e.g. inspections, violations) proportionally or through quartiles.
Copy link
Collaborator

@shansen5 shansen5 left a comment

Choose a reason for hiding this comment

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

This will be a nice addition.

@ericnost ericnost merged commit bc7256f into master Apr 26, 2021
@Frijol Frijol deleted the point-mapper branch October 12, 2021 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants