image thumbnail

Reading and visualizing COVID-19 data

version 1.0.6 (156 KB) by Lajos Varga
This live script reads data from the Johns Hopkins University dataset and then plots new COVID infected people vs all people infected.

317 Downloads

Updated 31 Mar 2020

View License

The topic that is on everyone's mind these days is: COVID-19. How many cases do we have? How many cases are in Europe? How many cases are worldwide? We are also concerned about these questions so to find an answer we made an interactive diagram to analyze the new confirmed cases to the total confirmed cases of the corona virus.

Features:
- automatically read the latest live data from Johns Hopkins database
- calculates weekly moving average
- can show various countries
- creates figures and possible animation

Bonus features (see live script :))
- animation export as video
- map view with zoom using the latest data

Please find the Live Script for the steps we followed to get the interactive diagram. Feel free to experiment.

See https://gamaxlabsol.com/technical-corner/ for details.
Thanks for the GAMAX Laboratory Solutions Engineering Team for delivering this live script in a "deliver by tomorrow" project. :)
Contributors:
https://www.mathworks.com/matlabcentral/profile/authors/9986199-bence-molnar
https://www.mathworks.com/matlabcentral/profile/authors/15299914-krist%C3%B3f-b%C3%A1rsony

Original idea from: http://facebook.com/minutephysics

Cite As

Lajos Varga et al (2020). Analyzing COVID-19 data (https://www.mathworks.com/matlabcentral/fileexchange/74797), MATLAB Central File Exchange. Retrieved March 31, 2020.

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!