{"id":20689921,"url":"https://github.com/reachsumit/population-density-india","last_synced_at":"2025-04-22T16:51:35.000Z","repository":{"id":91090172,"uuid":"114857649","full_name":"reachsumit/population-density-India","owner":"reachsumit","description":"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.","archived":false,"fork":false,"pushed_at":"2017-12-29T01:25:35.000Z","size":54,"stargazers_count":5,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-29T16:51:12.635Z","etag":null,"topics":["jupyter-notebook","map","pandas","python-3-6","scraping-websites","shapely","tableau-desktop"],"latest_commit_sha":null,"homepage":"https://medium.com/@sumit.arora/plotting-weighted-mean-population-centroids-on-a-country-map-22da408c1397","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reachsumit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-20T07:35:34.000Z","updated_at":"2022-12-17T20:23:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"86346961-7b2a-43b3-86a5-ccb973d0b56f","html_url":"https://github.com/reachsumit/population-density-India","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reachsumit%2Fpopulation-density-India","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reachsumit%2Fpopulation-density-India/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reachsumit%2Fpopulation-density-India/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reachsumit%2Fpopulation-density-India/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reachsumit","download_url":"https://codeload.github.com/reachsumit/population-density-India/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250282726,"owners_count":21405033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jupyter-notebook","map","pandas","python-3-6","scraping-websites","shapely","tableau-desktop"],"created_at":"2024-11-16T23:11:16.251Z","updated_at":"2025-04-22T16:51:34.992Z","avatar_url":"https://github.com/reachsumit.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weighted Population density for Indian states\n\n### Why this project ?\nA few days ago, a reddit user posted a beautiful visualization for Mean Centers of U.S. population by state on /r/MapPorn subreddit.\n![reddit /r/MapPorn post](https://cdn-images-1.medium.com/max/1000/1*hU3J73baFXc_ogL-rjhCTA.png)\n\nPretty 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.\n\nBut 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.\n\n### What does the code include ?\nPython code that useds Pandas to manipulate web-scraped population data. Along with code to manipulate geospatial data to generate the desired results.\n\nRead the complete project details here:\nhttps://medium.com/@sam.sumitkumar/plotting-weighted-mean-population-centroids-on-a-country-map-22da408c1397\n\n### Screenshots\nIndian districts mapped as polygons\n![Indian districts mapped as polygons](https://cdn-images-1.medium.com/max/1000/1*AtdiA7yDWs6a_yYk4ZcZlQ.png)\n\nMapping centroids for each district\n![Indian districts mapped as polygons](https://cdn-images-1.medium.com/max/1000/1*viLwWvgk0PWIafUQSzLBqQ.png)\n\nMean centers of population by state, 2001 vs. 2011\n![Output](https://cdn-images-1.medium.com/max/1000/1*f50rwoMlTzi7MlXqumvfGg.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freachsumit%2Fpopulation-density-india","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freachsumit%2Fpopulation-density-india","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freachsumit%2Fpopulation-density-india/lists"}