A unique Azure-ready static dashboard project that turns sustainability data into an engaging climate experience. The interface combines impact analytics, challenges, badges, streaks, and leaderboard-style feedback to demonstrate how cloud apps can drive behavior change.
This is more than a landing page. It shows:
- Front-end engineering with semantic HTML, responsive CSS, and modular JavaScript
- Data visualization with charts and dynamic rendering
- Product thinking through mission systems, badges, and retention loops
- Azure deployment readiness using Static Web Apps
- Python serverless API integration using Azure Functions
climate-gamification-dashboard/
├── index.html
├── styles.css
├── script.js
├── staticwebapp.config.json
├── README.md
├── data/
│ └── sample_dashboard.json
├── api/
│ ├── function_app.py
│ ├── host.json
│ └── requirements.txt
└── scripts/
└── generate_seed_data.py
- Sticky navigation with active section highlighting
- Hero section with project framing and live summary metrics
- KPI cards for points, CO₂ avoided, water saved, and tree equivalency
- Line chart for impact trends
- Bar chart for category-level contribution analysis
- Mission progress ring for gamified goal tracking
- Climate action feed with recent activity
- Weekly missions and badge cabinet
- Community leaderboard
- Fallback data strategy so the UI still works without the API
Because this project includes local fallback JSON, you can open it with a basic static server:
python -m http.server 8000Then open http://localhost:8000.
Install Azure Functions Core Tools and create a virtual environment for the API.
cd api
python -m venv .venv
source .venv/bin/activate # macOS/Linux
# .venv\Scripts\activate # Windows PowerShell
pip install -r requirements.txt
func startThen serve the front end separately from the project root.
- Create a GitHub repository named
climate-gamification-dashboard. - Push this project to the repository.
- In Azure, create a Static Web App resource and connect it to GitHub.
- Set the app location to
/and the API location toapi. - Azure will build and deploy the static front end and wire in the Python API.
- Built a climate-tech dashboard on Azure Static Web Apps with an optional Python serverless API.
- Designed a gamified sustainability experience featuring missions, badges, and leaderboard engagement loops.
- Implemented resilient front-end data loading with API-first fetch logic and static JSON fallback.
- Structured the app for easy extension into machine learning forecasts, carbon scoring models, or personalized climate recommendations.
- Add Azure Cosmos DB for persistent mission history
- Add Azure AI Foundry or Azure Machine Learning for prediction models
- Add authentication and per-user dashboards
- Add geospatial emissions views using Azure Maps
- Add team competitions for schools, offices, or neighborhoods