In the previous chapter, you learned how to visualize data with a new data visualization library for scientific Python tasks. You learned to create visualizations from data stored in various formats.
COVID-19 pandemic data
Fetching the pandemic data programmatically
Preparing the data for visualization
Creating visualizations with Matplotlib and Seaborn
Creating visualizations of animal disease data
After reading this chapter, you will be comfortable working with and creating visualizations of real-life datasets.
COVID-19 Pandemic Data
The world is facing the COVID-19 pandemic as of this writing (May 2021). COVID-19 is caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The symptoms include common flu-like symptoms and breathing troubles.
As I mentioned, the data is refreshed on a frequent basis, so these websites are quite reliable for up-to-date information.
Fetching the Pandemic Data Programmatically
Note that due to high traffic, sometimes the servers are unresponsive. I experienced this multiple times.
You will continue using the Johns Hopkins dataset throughout the chapter.
Preparing the Data for Visualization
Creating Visualizations with Matplotlib and Seaborn
Creating Visualizations of Animal Disease Data
You’ve just learned to visualize real-life animal disease data.
Summary
In this chapter, you explored more functionality of the Seaborn data visualization library, which is part of the scientific Python ecosystem. You also learned how to import real-life data into Jupyter Notebook. You used the Matplotlib and Seaborn libraries to visualize the data.
As you know, this is the last chapter in the book. While we explored Matplotlib in great detail, we have just scratched the surface of the vast body of knowledge and programming APIs. You now have the knowledge to further explore Matplotlib and other data visualization libraries on your own. Python has many data visualization libraries for scientific data. Examples include Plotly, Altair, and Cartopy. Armed with your knowledge of the basics of data visualization, have fun continuing your journey further into data science and visualization!