This Streamlit application provides an interactive dashboard for analyzing household data from various regions in India. The dashboard includes data filtering, bar charts, scatter plots, and geographic visualization capabilities.
- Data Selection: Choose between different household datasets (Gosaba 1, Gosaba 2, and Pathar)
- Data Filtering: Filter data based on categorical columns
- Bar Chart Analysis: Create bar charts to analyze relationships between categorical and numeric variables
- Scatter Plot Analysis: Visualize relationships between numeric variables
- Geographic Analysis: Interactive map visualization with color-coded data points
- Clone this repository:
git clone https://github.com/akvo/oak-india.git
cd oak-india
- Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activate
- Install the required packages:
pip install -r requirements.txt
To run the application, use the following command:
streamlit run app.py
The app will open in your default web browser at http://localhost:8501
.
- Data Selection: Use the sidebar to select the dataset you want to analyze
- Data Filter: Use the "Data Filter" tab to filter data based on categorical columns
- Bar Chart: Create bar charts by selecting categorical and numeric columns
- Scatter Plot: Create scatter plots by selecting numeric columns for X and Y axes
- Map: Visualize data geographically by selecting a column to color-code the points
The application uses data from the following sources:
- Household data from Gosaba 1
- Household data from Gosaba 2
- Household data from Pathar
- Village boundaries GeoJSON data
All data is loaded directly from the GitHub repository.
See requirements.txt
for a complete list of dependencies.