Skip to content

JSJan/CitiesDashboard

Repository files navigation

India Cities Dashboard

Sustainability • Liveability • Climate • Land Investment • Population
Projections: 2025 → 2050 → 2070

Overview

A data-driven analysis project that rates Indian cities across multiple dimensions to help identify the most sustainable, liveable, and investment-worthy cities. Covers 20 major cities across Tier 1, 2, and 3 categories.

What This Project Answers

  1. Which cities are most liveable and sustainable? — Composite scoring across climate, infrastructure, air quality, green cover, water supply, and population density
  2. Where should I buy land today? — Investment recommendations based on price growth potential, sustainability fundamentals, and affordability
  3. How will climate change affect each city? — Temperature rise, rainfall changes, AQI degradation, flood/cyclone risk through 2050 and 2070
  4. How will land prices evolve? — Historical CAGR analysis with projections to 2050 and 2070, ROI calculations
  5. How will population change? — Logistic growth modeling with carrying capacity analysis

Reports Available

Report Command Description
Full Dashboard python main.py All reports combined
Climate Analysis python main.py --report climate Temperature, rainfall, AQI, risk scoring
Land Prices python main.py --report land Price history, CAGR, ROI projections
Population python main.py --report population Growth rates, density, carrying capacity
Master Ranking python main.py --report ranking Overall city scoring and ranking
Buy Recommendations python main.py --report buy Top cities to invest in today
Chennai Areas python main.py --report chennai Chennai 30-area zone-level analysis
CSV Export python main.py --report export Export all reports to assets/ as CSV
Live Data python main.py --report climate --live Fetch real-time API data before reporting

Web Dashboard

An interactive web dashboard built with Streamlit + Plotly provides charts, filters, and an investment calculator.

streamlit run dashboard.py

Opens at http://localhost:8501 with 7 pages:

Page Description
Master Ranking Color-coded city scores with grouped bar chart
City Comparison Radar chart comparing 2–4 cities across 6 dimensions
Climate Analysis Temperature projections and AQI trajectory charts
Land Price Analysis Price timeline 2015–2070, buy recommendations
Population Analysis Growth projections and density scatter plot
Chennai Areas Zone summary, area ranking, price-vs-CAGR scatter
Investment Calculator ROI estimator for any city or Chennai area

Sidebar filters: City Tier (1/2/3) and State.

Cities Covered (20)

Tier 1: Mumbai, Delhi, Bengaluru, Chennai, Hyderabad, Kolkata, Pune, Ahmedabad
Tier 2: Coimbatore, Jaipur, Lucknow, Chandigarh, Kochi, Indore, Thiruvananthapuram, Visakhapatnam
Tier 3: Mysuru, Vadodara, Bhubaneswar

Scoring Methodology

Liveability Score (0-100)

  • Climate comfort (20%) — inverted climate risk
  • Infrastructure quality (25%) — healthcare, education, transport, water
  • Air quality (15%) — current AQI levels
  • Green cover (10%) — percentage of urban green space
  • Water supply (10%) — water reliability
  • Population density (10%) — congestion penalty for overcrowded cities
  • Natural disaster safety (10%) — flood and cyclone risk

Sustainability Score (0-100)

  • Climate resilience (25%) — projected warming severity
  • Water security (20%) — rainfall + water supply reliability
  • Green cover (15%) — environmental health
  • Population pressure (15%) — saturation level vs carrying capacity
  • Air quality trend (15%) — AQI trajectory through 2050
  • Food security (10%) — terrain suitability for agriculture

Investment Score (0-100)

  • Historical growth momentum (25%) — past CAGR performance
  • Affordability (20%) — cheaper cities have more upside
  • Infrastructure potential (20%) — metro, airport, IT hub
  • Population demand pressure (20%) — growth driving prices
  • Climate risk discount (-15%) — risk reduces attractiveness

Overall Score

Overall = Liveability (35%) + Sustainability (35%) + Investment (30%)

Project Structure

├── main.py                     # CLI entry point — generates all reports
├── dashboard.py                # Streamlit web dashboard (7 pages)
├── requirements.txt            # Python dependencies
├── src/
│   ├── models.py               # Data models (CityProfile, ClimateData, etc.)
│   ├── seed_data.py            # Seed data for 20 Indian cities
│   ├── area_models.py          # Area-level data models
│   ├── chennai_areas_data.py   # 30 Chennai areas across 6 zones
│   ├── chennai_area_analysis.py # Chennai area scoring & ranking
│   ├── climate_analysis.py     # Climate risk scoring & projections
│   ├── land_price_analysis.py  # Land price CAGR & ROI analysis
│   ├── population_analysis.py  # Population logistic growth modeling
│   ├── scoring_engine.py       # Composite scoring & ranking engine
│   ├── csv_export.py           # CSV export (11 files to assets/)
│   └── data_fetchers.py        # Live API data fetchers (Open-Meteo, OWM)
├── assets/                     # Generated CSV exports
├── Prompts/                    # Project prompts
└── PromptEngineering/          # Learning notes

Quick Start

pip install -r requirements.txt

# CLI reports
python main.py

# Web dashboard
streamlit run dashboard.py

Data Sources Referenced

Disclaimer

This analysis uses publicly available data and projection models. Land prices and population projections are estimates based on historical trends and IPCC climate scenarios. This is NOT financial or investment advice. Always consult professionals before making investment decisions.

About

CitiesDashboard - Lets you know most sustainable cities based on population, climate changes, land code prediction

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages