An interactive Weather Dashboard built with Streamlit that lets users fetch and visualize current weather data and forecasts for any city in the world.
- Current Weather Info: Displays temperature, humidity, wind speed, pressure, and conditions.
- Temperature Forecast: Visualizes temperature trends and "feels like" metrics.
- Weather Conditions Pie Chart: Shows distribution of weather conditions.
- Temperature Range Chart: Illustrates max and min temperatures over time.
- User-Friendly Interface: Easy city input with clear visualizations.
- Python: Backend logic
- Streamlit: Web app framework
- Requests: HTTP requests to OpenWeather API
- Pandas: Data manipulation
- Plotly: Interactive plots
- dotenv: Environment variable management
-
Clone the repository:
git clone https://github.com/rakheshkrishna2005/weather-dashboard.git
-
Navigate to the project directory:
cd weather-dashboard
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables: Create a
.env
file with your OpenWeather API key:OPENWEATHER_API_KEY=your_api_key_here
-
Run the app:
streamlit run app.py