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

Exposes US County Data #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bdarfler
Copy link

@bdarfler bdarfler commented Apr 9, 2020

In #44 @sbonds requested the addition of US County-level data. He graciously opened #46 to show a proof of concept.

Later @bsmith1180 opened #62 showing another possible UX for displaying the data and @imichaelmiers commented that the John Hopkins CSSE data might be a better source over the NYT data.

More recently @aatishb made a suggestion on yet a third way of organizing the UX.

In this Pull Request, I combine the suggestion from @imichaelmiers on #62 to use the John Hopkins CSSE data (building upon my PR #78 where I first introduce that data set) with @aatishb's suggestion on #44 of introducing a drop-down menu for state selection to reduce the visual clutter.

I'm happy to take any and all feedback. This can be merged in lieu of #78 or after #78, or not at all. I have pushed this code to my gh-pages branch and the result can be viewed at https://bdarfler.github.io/covidtrends/

@sbonds
Copy link

sbonds commented Apr 9, 2020

I like the overall idea. It looks a lot like what I first had in mind until I thought it would be interesting to compare county-level data across states. For example, how would I combine King County, WA with New York City, NY on one plot?

Can the states pull down be turned into a multiple selection option and have a county list from each (selected) one appear?

@bdarfler
Copy link
Author

That's an interesting question @sbonds. However, I'd suggest this be a follow on request to keep this PR small and targeted.

@bdarfler bdarfler force-pushed the exposes-county-data branch 2 times, most recently from 39aee14 to ba7b987 Compare April 11, 2020 16:42
The NYT data [methodology][1] differs from from the John Hopkins
methodology.

This change attempts to ensure consistency between the world data and
the US data by using the John Hopkins CSSE data set for both.

[1]: https://github.com/nytimes/covid-19-data#methodology-and-definitions
This adds a US Counties option which then exposes an additional drop down
menu for selecting a US State. County level data is pulled from the
John Hopkins CSSE data set and displayed for the selected State.
@bdarfler
Copy link
Author

Rebased

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