Skip to content

About

Real-time Weather Data Visualizer — An interactive multi-city dashboard built with Dash & Plotly. Fetches live data from OpenWeather API to display temperature, humidity, wind speed, and conditions with interactive charts, comparisons, and theme toggle.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Real-time-Weather-Data-Visualizer

An interactive weather dashboard built using Dash by Plotly that fetches live weather data from the OpenWeather API for multiple cities.

This tool allows users to:

  • Search and add any city worldwide
  • View current weather conditions (temperature, humidity, wind speed, description)
  • Explore 5-day forecast trends with interactive line and bar charts
  • Compare weather conditions across cities
  • Toggle between Light 🌞 and Dark 🌙 modes
  • View condition distribution per city with pie charts

📸 Features Preview

  • 🔎 Search any city and view live data
  • 🌍 Multi-city comparison
  • 📈 Interactive line & bar charts
  • 🥧 Condition distribution pie charts
  • 🌞🌙 Theme toggle

📊 Data Overview

  • Source: OpenWeather API
  • Data: Live updates (current snapshot + 5-day/3-hour forecast)
  • Metrics Captured:
    • Temperature (°C)
    • Humidity (%)
    • Wind Speed (km/h)
    • Weather Condition (Clear, Rain, Clouds, etc.)

⚙️ Installation & Setup

🔁 Clone this Repository

git clone https://github.com/JagguDada01/Real-time-Weather-Data-Visualizer.git
cd Real-time-Weather-Data-Visualizer

📦 Create Virtual Environment (Optional but Recommended)

python -m venv venv
source venv/bin/activate   # macOS/Linux
venv\Scripts\activate      # Windows

🔧 Install Dependencies

pip install -r requirements.txt

▶️ Run the Application

python weather.py

🌐 Then open your browser and visit:

http://127.0.0.1:8050

❗ Trouble? Port Already in Use?

If you see this error when running the app:

  • Address already in use
  • Port 8050 is in use by another program.

✅ Kill the process using port 8050

💻 On macOS/Linux:

lsof -i :8050
kill -9 <PID>

Replace <PID> with the number shown in the output of the lsof command.

🖥️ On Windows (Command Prompt):

netstat -ano | findstr :8050
  • This will show something like:- TCP 127.0.0.1:8050 ... PID: 12345

Then stop the process using:

taskkill /PID 12345 /F
  • Replace 12345 with the actual Process ID (PID) shown.

About

Real-time Weather Data Visualizer — An interactive multi-city dashboard built with Dash & Plotly. Fetches live data from OpenWeather API to display temperature, humidity, wind speed, and conditions with interactive charts, comparisons, and theme toggle.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages