Skip to content

arafayr/Pakistan-population-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pakistan Population Visualization

This repository contains a Streamlit-based visualization tool that maps various demographic, educational, and population metrics for Pakistan. The interactive tool plots markers on a map of Pakistan, where each marker represents a city. The tool allows users to analyze population data and schooling metrics by adjusting primary and secondary parameters.

Link of this tool Pakistan_pop_visualization_tool

Table of Contents


Features

  • Interactive Map: Visualize demographic and education metrics across Pakistan.
  • Customizable Parameters: Choose primary and secondary parameters to display, affecting marker size and color respectively.
  • Province Filtering: Focus on specific provinces or display data for all of Pakistan.
  • Detailed Metrics: Primary and secondary parameters include population, school count, household density, and growth rate among others.

Dataset

The dataset used for this visualization includes the following columns:

  • Demographic: total_male_total, total_female_total, population_2023, households, density_2023, etc.
  • Education: Counts of schools by gender and level, e.g., primary_boys_schools, high_girls_schools.
  • Geographic: Coordinates (lat, lng), area, and density.

Installation

  1. Clone the repository:
    git clone https://github.com/arafayr/Pakistan-population-Analysis.git
  2. Navigate to the project directory:
    cd Pakistan-Population-Visualization
  3. Install the dependencies:
    pip install -r requirements.txt

Usage

  1. Run the Streamlit application:
    streamlit run pak_pop_streamlit.py
  2. Open the application in your browser

Parameters

  • Primary Parameter: Sets the marker size, representing metrics like population or number of schools.
  • Secondary Parameter: Sets the marker color, allowing comparison of a secondary metric such as school density or household size.
  • Province Filter: Select from provinces (Punjab, Sindh, KPK, Balochistan.) or view data for the entire country.

Available Metrics

Here are some metrics available for selection:

  • Population (population_2023, population_2017, growth_rate)
  • Gender distribution (total_male_total, total_female_total)
  • Educational facilities (e.g., primary_boys_schools, high_girls_schools, total_schools)
  • Geographic and household data (area(km²), density_2023, households)

Screenshot

image

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages