Once a researcher was collecting the data of situations of COVID-19 of different countries in CSV file format. He realize that he had collected the data of 100 countries. It was crucial to visualize the data of each and every country.
To install the required modules run pip installer command on the command line:
pip install pandas
pip install matplotlib
pip install PyQt5
Pandas is an open-source library that is made mainly for working with relational or labeled data both easily and intuitively.
Matplotlib is an amazing visualization library in Python for 2D plots of arrays. Matplotlib is a multi-platform data visualization library built on NumPy arrays and designed to work with the broader SciPy stack. It was introduced by John Hunter in the year 2002.
PyQt5 is the latest version of a GUI widgets toolkit developed by Riverbank Computing. It is a Python interface for Qt, one of the most powerful, and popular cross-platform GUI library. PyQt5 is a blend of Python programming language and the Qt library.
- Import libraries.
- Create display window.
- Create field to enter link.
- Create function to generate pychart.
- Create function to save the pychart.
- File Browse Functionality
- pie-chart
- Tooltip functionality
- Save functionality
To run the project enter the follwing command on command line:
python COVID-19_Data-Visualizer.py