A Python-based data analysis project that fetches historical or live weather data using a public API (or CSV file) and visualizes key metrics such as temperature, humidity, and wind speed.
- 🌐 Fetch weather data using APIs (
requests) - 📊 Data cleaning and processing with
pandas - 📈 Visualization using
matplotlibandseaborn - 🔁 Supports both live API data and offline CSV datasets
- 📉 Trend analysis for temperature, humidity, and wind speed
- Python 3.x
- Requests
- Pandas
- Matplotlib
- Seaborn
weather-visualization/
│── weather_visualization.py # Main Python script
│── weather.csv # Optional dataset (for offline use)
│── README.md # Project documentation
Install the required dependencies:
pip install requests pandas matplotlib seaborngit clone https://github.com/codewithshami/wheather_dashboard.git
cd wheather_dashboardpython wheather_dashboard.py- Ensure you have an active internet connection when using live API data.
- If API is not available, you can use the provided
weather.csvfile. - Update API keys (if required) inside the script before running.
- Temperature vs Time 📈
- Humidity Trends 💧
- Wind Speed Analysis 🌬️
- Add real-time dashboard using Streamlit
- Integrate multiple city comparisons
- Deploy as a web application
- Add predictive analytics using Machine Learning
Contributions are welcome! Feel free to fork the repository and submit a pull request.
Mohd Shami 📧 codexshami@gmial.com 📍 Uttar Pradesh, India
⭐ If you like this project, don't forget to star the repository!