Calculating population weighted mean of geospatial data of each Indian state
Dataset Description
Dataset Description:
- This dataset has population data of each Indian district from 2001 and 2011 censuses.
- The special thing about this data is that it has centroids for each district and state.
- Centroids for a district are calculated by mapping border of each district as a polygon of latitude/longitude points in a 2D plane and then calculating their mean center.
- Centroids for a state are calculated by calculating the weighted mean center of all districts that constitutes a state. The population count is the weight assigned to each district.
Example Analysis:
-
The complete code for calculating the centroids and web scraping for the data is shared on GitHub.
-
The purpose of this project was to map population density center for each state.
-
You can also read about the complete project here: https://medium.com/@sumit.arora/plotting-weighted-mean-population-centroids-on-a-country-map-22da408c1397
Output Screenshots:
Indian districts mapped as polygons
Mapping centroids for each district
Mean centers of population by state, 2001 vs. 2011
National center of population
Related Datasets
-
India Census 2011
@kaggle
-
Wars On Territory
@owid
-
Poverty Rates
@ukgov
-
2021 Geography Information
@uscensus
-
2022 Geography Information
@uscensus