Skip to content

feat: implement streamlit app with visualizations and geospatial volunteer mapping

Vaishnavi requested to merge Task-4 into main

Summary

Implemented a multi-page Streamlit application featuring interactive forms, data visualizations, and geospatial volunteer mapping.

Changes Made

Basic Streamlit App

  • Added user input form using Streamlit
  • Implemented:
    • Name input field
    • Age dropdown using selectbox
  • Added submit functionality with dynamic response display

Visualization Module

  • Added Plotly Sunburst Chart visualization
  • Created hierarchical sample dataset:
    • Country
    • State
    • Village
    • Volunteer count
  • Integrated interactive chart rendering in Streamlit

Geospatial Volunteer Mapping

  • Added volunteer CSV dataset integration
  • Implemented state-based filtering
  • Displayed volunteer locations on interactive map
  • Added marker popups containing:
    • Name
    • Phone Number
    • Email
    • Village
  • Dynamically centered map based on selected state

Project Structure

  • Created multi-page Streamlit architecture
  • Added:
    • app.py
    • pages/
    • requirements.txt
    • volunteers.csv

Tech Stack

  • Python
  • Streamlit
  • Pandas
  • Plotly
  • Folium
  • Streamlit-Folium
  • Geopy

Testing

  • Verified Streamlit application runs successfully
  • Tested chart rendering and map interactions
  • Validated state filtering and popup functionality

Run Locally

streamlit run app.py

closes #2
Edited by Vaishnavi

Merge request reports

Loading