Time Series

Plotting COVID-19 Epidemic

In this post, we will visualize spread of worldwide COVID-19 cases through time. I obtained the data from Rami Krispin’s website: https://ramikrispin.github.io/coronavirus/ using coronovirus package. I also decided to do some experimentation using John Coene’s fantastic echarts4r package, which allows us to access echarts API. Load the libraries and get the data in the R session. library(dplyr) library(echarts4r) library(coronavirus) # Get the data data("coronavirus") Data Preparation Check out the first 6 observations.