项目作者: ahnaf-tahmid-chowdhury
项目描述 :
Plotting Choropleth Bangladesh Map using Python
高级语言: Jupyter Notebook
项目地址: git://github.com/ahnaf-tahmid-chowdhury/Choropleth-Bangladesh.git
Population density of Bangladesh according to district
- The current population of Bangladesh is 166,387,872 as of Friday, July 16, 2021, based on Worldometer elaboration of the latest United Nations data.
- Bangladesh 2020 population is estimated at 164,689,383 people at mid year according to UN data.
- Bangladesh population is equivalent to 2.11% of the total world population.
- Bangladesh ranks number 8 in the list of countries (and dependencies) by population.
- The population density in Bangladesh is 1265 per Km2 (3,277 people per mi2).
- The total land area is 130,170 Km2 (50,259 sq. miles)
Plotting Choropleth Bangladesh Map
A choropleth map is a type of thematic map in which areas are shaded or patterned in proportion to a statistical variable that represents an aggregate summary of a geographic characteristic within each area, such as population density or per-capita income.

Table of Contents
" class="reference-link">About
A choropleth map is a type of thematic map in which areas are shaded or patterned in proportion to a statistical variable that represents an aggregate summary of a geographic characteristic within each area, such as population density or per-capita income.
" class="reference-link">Prerequisites
What things you need to install the software and how to install them.
$ pip install plotly
$ pip install notebook
$ pip install numpy
$ pip install matplotlib
$ pip install pandas
A step by step process how the geojson data is collected described here
Geojson files
" class="reference-link">Getting Started
After installing all recomanded tools run Choropleth-bangladesh.ipynb file to get started
" class="reference-link">Process
- At first the district based geojson data is loaded
- Collected population data from Wikipedia and saved as csv format
- Load them to pandas dataframe
- Marge two dataset according to district using an unique id
- Plot choropleth map of Bangladesh