This package takes the WHO data appearing here: "https://covid.ourworldindata.org/data/ecdc/ and produces an animated gif that shows the progress of it's spread (numbers per 1,000,000) on a map.
You can install a version of the package here
# install.packages("devtools") devtools::install_github(repo = "pkuhnert/mapcorona")
knitr::opts_chunk$set(echo = TRUE) library(knitr)
An example of producing the map is shown here.
last_map <- cv(url_loc = "https://covid.ourworldindata.org/data/ecdc/full_data.csv", d_start = "2019-12-31", d_format = "%Y-%m-%d") last_map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.