From the course: Python Data Analysis
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Visualizing COVID-19 data - Python Tutorial
From the course: Python Data Analysis
Visualizing COVID-19 data
- [Instructor] Ready to visualize? We load our dataset and compute the normalized cumulative quantities. We left our exploration with the countries that showed the most estimated excess deaths. What do these countries have in common? It's a question for modeling, but one that we can begin to explore by plotting. So is population predictive? Is a continent especially bad? We plot those variables against excess deaths, encoding their values with horizontal position, X, and color, respectively. We don't seem to see much correlation here. To improve this plot, we exclude points without a defined excess death rate. We drop now so that the axes are scaled right, and we ask Plotly to use country names when we hover around the point. Then it will be clear which point is which country. What about income? That's not very predictive, either, and surely vaccinations may be indicative. They're not. Most of the deaths occurred before vaccinations were available. It seems we're not getting anywhere.…