Skip to content

Python-based web application that provides real-time weather updates for any city. The application is built using Plotly Dash and provides a user-friendly interface to visualise temperature, humidity, and wind speed trends for a selected city

Notifications You must be signed in to change notification settings

manikolbe/city_weather_dashboard_plotlydash_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒฆ๏ธ Real-Time Weather Dashboard

๐ŸŒ Weather Dashboard Web Page

This repository contains a Python-based web application that provides real-time weather updates for any city. The application is built using Plotly Dash and provides a user-friendly interface to visualize temperature, humidity, and wind speed trends for a selected city.

โœจ Features

  • ๐ŸŒ Real-time Weather Updates: Get the latest weather information for any city by simply entering its name.
  • ๐Ÿ“Š Weather Visualization: Visualize temperature, humidity, and wind speed trends over a specified forecast duration.
  • ๐Ÿ–ฅ๏ธ Interactive UI: User-friendly interface built using Plotly Dash for easy selection of weather parameters and forecast duration.

๐Ÿ› ๏ธ Technologies Used

  • ๐Ÿ Python
  • ๐Ÿ“ˆ Dash (Plotly)
  • ๐ŸŒค๏ธ Open-Meteo API for weather data
  • ๐Ÿ—บ๏ธ Nominatim API for geocoding city names

โš™๏ธ Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/city_weather_dashboard.git
    cd city_weather_dashboard
  2. Create a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    • Windows: venv\Scripts\activate
    • macOS/Linux: source venv/bin/activate
  4. Install the required packages:

    pip install -r requirements.txt

๐Ÿš€ Usage

  1. Run the application:

    python city_weather_dashboard.py
  2. Open a browser and go to http://127.0.0.1:8050/ to access the weather dashboard.

โšก How It Works

  • ๐Ÿ”Ž City Name Input: Users can enter any city name, and the application fetches the latitude and longitude using the Nominatim API.
  • ๐ŸŒก๏ธ Weather Data Fetching: The weather data for the selected city is retrieved from the Open-Meteo API.
  • ๐Ÿ“‰ Interactive Graphs: The application visualizes the temperature, humidity, and wind speed trends for the selected forecast duration (12 to 48 hours).

About

Python-based web application that provides real-time weather updates for any city. The application is built using Plotly Dash and provides a user-friendly interface to visualise temperature, humidity, and wind speed trends for a selected city

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages