https://github.com/reachsumit/population-density-india
The goal of this project is to calculate population weighted mean of geospatial coordinates of each Indian state and compare data from different decennial censuses.
https://github.com/reachsumit/population-density-india
jupyter-notebook map pandas python-3-6 scraping-websites shapely tableau-desktop
Last synced: about 1 month ago
JSON representation
The goal of this project is to calculate population weighted mean of geospatial coordinates of each Indian state and compare data from different decennial censuses.
- Host: GitHub
- URL: https://github.com/reachsumit/population-density-india
- Owner: reachsumit
- Created: 2017-12-20T07:35:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-29T01:25:35.000Z (over 7 years ago)
- Last Synced: 2025-03-29T16:51:12.635Z (about 2 months ago)
- Topics: jupyter-notebook, map, pandas, python-3-6, scraping-websites, shapely, tableau-desktop
- Language: Jupyter Notebook
- Homepage: https://medium.com/@sumit.arora/plotting-weighted-mean-population-centroids-on-a-country-map-22da408c1397
- Size: 52.7 KB
- Stars: 5
- Watchers: 0
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weighted Population density for Indian states
### Why this project ?
A few days ago, a reddit user posted a beautiful visualization for Mean Centers of U.S. population by state on /r/MapPorn subreddit.
Pretty neat, right ? This map conveys the point across and also maintains an appeasing simplicity. This inspired me to create a similar population map for my motherland, India.
But what I imagined to be a straightforward task, turned into something really complicated. While the original creator of the above reddit post was able to get the desired data in neatly arranged format from the US Census Bureau website, similar information wasn’t readily available for India. So, I set out to create my map from scratch.
### What does the code include ?
Python code that useds Pandas to manipulate web-scraped population data. Along with code to manipulate geospatial data to generate the desired results.Read the complete project details here:
https://medium.com/@sam.sumitkumar/plotting-weighted-mean-population-centroids-on-a-country-map-22da408c1397### Screenshots
Indian districts mapped as polygons
Mapping centroids for each district
Mean centers of population by state, 2001 vs. 2011
