Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Support District Level Maps #13

Closed
jeremyphilemon opened this issue Mar 22, 2020 · 17 comments
Closed

Support District Level Maps #13

jeremyphilemon opened this issue Mar 22, 2020 · 17 comments
Assignees

Comments

@jeremyphilemon
Copy link
Collaborator

As shown in the preview:

Screen Shot 2020-03-22 at 9 44 12 PM

@manojVivek
Copy link
Contributor

@jeremyphilemon Can you point me where we can get the district level topoJsons for India?

@jeremyphilemon
Copy link
Collaborator Author

https://github.com//guneetnarula/covid19-in @manojVivek this is a good place to start!

@JunaidBabu
Copy link
Member

JunaidBabu commented Mar 24, 2020

https://api.covid19india.org/state_district_wise.json can be used to fetch the data.

@manojVivek thanks for this!

@JunaidBabu JunaidBabu added this to High priority in Website main Mar 24, 2020
@Goutham88
Copy link

Can I take this or someone is working on this?
@jeremyphilemon

@manojVivek
Copy link
Contributor

I'm working on this.

@akumars0
Copy link

@manojVivek i can help with any QA support you might need

@JunaidBabu
Copy link
Member

I'm working on this.

@manojVivek any updates on this?

@manojVivek
Copy link
Contributor

@JunaidBabu Making progress, will raise a PR by today evening.

@manojVivek
Copy link
Contributor

manojVivek commented Mar 25, 2020

@jeremyphilemon @JunaidBabu Just realized, I didn't see the attached screenshot in this issue and took a different approach UX wise. Please check the screencast below and let me know.
Screencast:
Screen Recording 2020-03-25 at 11 42 30 AM 2020-03-25 11_49_09

@JunaidBabu
Copy link
Member

JunaidBabu commented Mar 25, 2020

@manojVivek

This is awesome.. if you have this one production ready, please submit PR.

We can also do the initial plan alongside; to have a toggle button to see the whole picture district-wise

What's the plan to display unknown cases?
How big is the geojson for districts?

@manojVivek
Copy link
Contributor

@JunaidBabu The geojson size ranges from 50KB to 900KB non-gzipped.

Shall I raise a PR with few states missing(I'm filing in the geoData state by state)?
So that someone else can do the implementation of initial plan in parallel?

@JunaidBabu
Copy link
Member

Shall I raise a PR with few states missing(I'm filing in the geoData state by state)?

Yes please

@manojVivek
Copy link
Contributor

PR #88

@aadityadar
Copy link

PS: if possible please use district boundaries either from Census 2011 (640 districts; see https://github.com/datameet/maps/tree/master/Districts/Census_2011) or present-day districts (729 as per https://lgdirectory.gov.in). LG directory provides a mapping of all 729 districts in 2020 to 2011 census district codes and therefore it's easier to bring in data from other sources. Here's the csv file https://github.com/aadityadar/covid-19-india-lockdown/blob/master/input/lgdirectorygovin_allDistrictofIndia2020_03_26_01_50_14_830.csv

@suryaceg
Copy link

One idea for the interaction would be.

Desktop:
Hover on state > Show a small tooltip along with the state % "View district-wise breakup" > On click > Expose the district > Back button as shown to go back to State map

Mobile:
On top > Show state name & data as shown in Issue #90 & show a call-to-action "View district-wise breakup" > On click > Expose the district > Back button as shown to back to State map

CC: @JunaidBabu @jeremyphilemon @manojVivek @s-naveen

@ghost
Copy link

ghost commented Mar 27, 2020

Can I also work on this?

@jeremyphilemon
Copy link
Collaborator Author

Closed! 🎉 #88

Website main automation moved this from High priority to Closed Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Website main
  
Closed
Development

No branches or pull requests

7 participants