guneetnarula / covid19-in Goto Github PK
View Code? Open in Web Editor NEWDistrict-wise map of CoVID19 cases in India
Home Page: https://covid19-in.guneetnarula.now.sh
District-wise map of CoVID19 cases in India
Home Page: https://covid19-in.guneetnarula.now.sh
Duplicate of https://github.com/covid19india/CovidCrowd/issues/7
Local government directory (LGD) reports 11 districts in Mizoram (instead of 8; hnahthial, khawzawl, saitual are three new districts formed in June 2019)
LGD reports 33 district in Tamil Nadu (instead of 32; kallakurichi district was formed in november 2019)
LGD reports 20 districts in J&K (instead of 22; mirpur and muzaffarabad not reported by LGD)
Keeping the two districts in POK, we should have 731 districts = 729 in /js/districts_729.js - 2 duplicates (assam and gujarat, see #5) + 3 mizoram + 1 tamil nadu
If we want to be consistent with LGD there should be 729 districts (exclude 2 districts from J&K), no of districts in states should be:
----------------------------------------
State Name (In English) | Freq.
----------------------------+-----------
andaman and nicobar islands | 3
andhra pradesh | 13
arunachal pradesh | 25
assam | 33
bihar | 38
chandigarh | 1
chhattisgarh | 27
dadra and nagar haveli | 1
daman and diu | 2
delhi | 11
goa | 2
gujarat | 33
haryana | 22
himachal pradesh | 12
jammu and kashmir | 20
jharkhand | 24
karnataka | 30
kerala | 14
ladakh | 2
lakshadweep | 1
madhya pradesh | 52
maharashtra | 36
manipur | 16
meghalaya | 11
mizoram | 11
nagaland | 11
odisha | 30
puducherry | 4
punjab | 22
rajasthan | 33
sikkim | 4
tamil nadu | 33
telangana | 33
tripura | 8
uttar pradesh | 75
uttarakhand | 13
west bengal | 23
----------------------------------------
No of districts in js/districts_729.js is:
-------------------------------
properties/stname | Freq.
-------------------+-----------
andaman & nicobar | 3
andhra pradesh | 13
arunachal pradesh | 25
assam | 34
bihar | 38
chandigarh | 1
chhattisgarh | 27
dadra & nagar have | 1
daman & diu | 2
delhi | 11
goa | 2
gujarat | 34
haryana | 22
himachal pradesh | 12
jammu & kashmir | 22
jharkhand | 24
karnataka | 30
kerala | 14
ladakh | 2
lakshadweep | 1
madhya pradesh | 52
maharashtra | 36
manipur | 16
meghalaya | 11
mizoram | 8
nagaland | 11
odisha | 30
puducherry | 4
punjab | 22
rajasthan | 33
sikkim | 4
tamil nadu | 32
telangana | 33
tripura | 8
uttar pradesh | 75
uttarakhand | 13
west bengal | 23
-------------------------------
Sorting functionality on pop up grids
at the country level and state level
what's that tabletop.js and how are you fetching data?
Need to check for state name as well while styling district
this is minor point but if you are cleaning up the numeric codes, could you please use 28 for andhra pradesh and 37 ladakh. this will make it consistent with standard practice.
+-------------------------------------+
| propertiess~me ~st_code stc_new |
|-------------------------------------|
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
| andhra pradesh 37 28 |
|-------------------------------------|
| ladakh 38 37 |
| ladakh 38 37 |
+-------------------------------------+
(self explanatory)
Right now the map is showing only district data.
When we select District-level Data than maps should show only district-level data and when we select State-level data than maps should show State-level data.
https://github.com/guneetnarula/covid19-in/blob/master/js/districts_729.js contains 727 districts (instead of 729). Duplicates in terms of propertiesstname propertiesdtname propertiesdt_code are as follows:
+---------------------------------------------------------------+
| group: obs: p~stname propertiesdtname ~dt_code |
|---------------------------------------------------------------|
| 1 341 assam south salmara mancachar 758 |
| 1 342 assam south salmara mancachar 758 |
| 2 223 gujarat botad 726 |
| 2 224 gujarat botad 726 |
+---------------------------------------------------------------+
We can either improve inital page loading or we can show some stuff like news/captions/quotes related to COVID-19.
telangana, J&K and Ladakh
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.