How mtalhaqadir779/python-flask-data-dashboard works
Project type and purpose
• This is a simple full-stack data dashboard built with Python Flask (backend) and Bootstrap/HTML (frontend) that visualizes World Bank development indicators using Plotly and Pandas.
• Key deliverable: interactive web dashboard showing charts for arable land, forest area, rural population, etc., pulled from CSV files.
File structure
• Top-level files:
• worldbank.py – the Flask app entry point
• requirements.txt – lists Flask, Pandas, Plotly, etc.
• data/ – raw CSV files containing indicator data
• wrangling_scripts/ – Python scripts to clean and prepare data
• worldbankapp/ (Flask package):
• routes.py – defines URL endpoints and view functions
• static/ – CSS, JS, images (Bootstrap assets, Plotly JS)
• templates/ – Jinja2 HTML templates (index.html)
README for additional insights
• Confirms use of Flask, Bootstrap, Plotly, and Pandas.
• No database; CSV files are the data source.
• Deployment target: Heroku.
Elements
• Browser → Flask (HTTP GET)
• Flask → Data Store (pandas read_csv)
• Flask → Wrangle Module (data processing)
• Flask → Template (render) → Browser
• Browser → Plotly JS (render chart)
• Client UI (blue)
• Server logic (green)
• Data store (yellow)
• External/deployment (gray)