Logo Lanfrica

makpevwei/nigeria-economic-dashboard

Domain:

socioeconomic

Record type:

software
Creator:
mak
Host:
### Nigeria Economic and Demographic Dashboard This repository contains a Streamlit application for visualizing and analyzing key economic and demographic indicators of Nigeria. The app allows users to explore trends, compare data across years, and analyze relationships between various indicators in an interactive and user-friendly interface. ### Project Structure The repository is organized as follows: - ```nigeria_dashboard_app.py```: The main Streamlit application file. It serves as the front end of the dashboard, where users can select indicators, time ranges, and compare trends. - ```data_processor.py```: A utility module responsible for loading, cleaning, and processing the dataset. It ensures the data is well-formatted and ready for visualization. - ```nigeria_indicators_data.csv```: The dataset containing Nigeria's economic and demographic indicators, which is loaded and processed by the app. ### Features 1. **Trend Analysis**: - Visualize the trend of a selected indicator over a user-defined time range using line charts. - Compare multiple normalized indicators to understand their patterns over time. 2. **Yearly Comparison**: - Compare the values of a selected indicator between two years using bar charts and metrics. - Analyze changes with percentage differences displayed dynamically. 3. **Indicator Relationships**: - Explore relationships between indicators using normalized comparisons. - Compare multiple indicators over the years to identify correlations or divergences. ### Prerequisites Before running the application, ensure you have the following: 1. Python 3.7+ 2. Necessary Python libraries: - ```streamlit``` - ```pandas``` - ```numpy``` - ```plotly``` ### Dataset Processing The dataset is cleaned and preprocessed in data_processor.py to ensure consistency and usability. Below are some key steps in the processing: 1. **Column Renaming**: Columns are renamed to concise and user-friendly names. 2. **Year Formatting**: The Year column is formatt …