Skip to content

ahnaf-tahmid-chowdhury/Choropleth-Bangladesh

Repository files navigation

Population density of Bangladesh according to district

  1. 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.
  2. Bangladesh 2020 population is estimated at 164,689,383 people at mid year according to UN data.
  3. Bangladesh population is equivalent to 2.11% of the total world population.
  4. Bangladesh ranks number 8 in the list of countries (and dependencies) by population.
  5. The population density in Bangladesh is 1265 per Km2 (3,277 people per mi2).
  6. 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.

Map logo

Table of Contents

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.

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

Getting Started

After installing all recomanded tools run Choropleth-bangladesh.ipynb file to get started

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