This project is a COVID-19 Dashboard built using Streamlit and Plotly. It visualizes COVID-19 data globally, allowing users to analyze and compare COVID-19 statistics across different countries. 📊
- View the latest COVID-19 data for any selected country 🌍
- Historical data visualization for confirmed cases and daily new cases 📈
- Global statistics overview for total confirmed, deaths, recovered, and active cases 🌐
- Top 10 countries with the highest confirmed, recovered, deaths, and active cases 📊
- Country comparison for COVID-19 cases 🏆
- Interactive heatmap for COVID-19 statistics across different countries 🗺️
app.py: The main file for running the Streamlit apprequirements.txt: List of dependencies required to run the apparchive/: Folder containing the CSV data files used in this project
- Python 3.7+
- Streamlit
- Plotly
- Pandas
Follow these steps to get a local copy of the project and run the app:
-
Clone the Repository 📥
git clone https://github.com/your-username/COVID-19-Dashboard.git cd COVID-19-Dashboard -
Create a Virtual Environment 🐍
It's recommended to create a virtual environment to manage dependencies:python -m venv venv
-
Activate the Virtual Environment 🌱
On Windows:venv\Scripts\activate
On macOS/Linux:
source venv/bin/activate -
Install Dependencies 📦
Make sure you have Python installed. Then, install the required dependencies by running:pip install -r requirements.txt
-
Run the App
▶️
Start the Streamlit app using the command:streamlit run app.py
The app will open in your default web browser.
-
Explore the Dashboard 🌐
- Select a country from the dropdown to see its latest COVID-19 statistics.
- View historical data, global statistics, and compare data between countries.
- Check the heatmap and explore the top 10 countries with the most cases.
COVID-19-Dashboard/
├── app.py # Main application file
├── requirements.txt # Dependencies file
└── archive/ # Folder containing CSV data files
├── country_wise_latest.csv
├── covid_19_clean_complete.csv
├── day_wise.csv
├── full_grouped.csv
├── usa_county_wise.csv
└── worldometer_data.csv
- Fork the repository
- Create a new branch for your feature:
git checkout -b feature-name - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature-name - Submit a pull request
The data used in this project comes from various sources and is updated regularly:
This project is licensed under the MIT License. See the LICENSE file for more details.
- Big thanks to the data providers for making COVID-19 data publicly available 🙌
- Special thanks to Streamlit and Plotly for providing great tools for data visualization 📈
Feel free to ⭐️ the repository if you find it helpful!
Happy coding! 🚀
This updated README now includes instructions on creating and activating a virtual environment, ensuring users have a smooth setup process.