plot map with ggplots, it is the core of plot.nCov2019 and Plot.nCov2019History.
1 2 3 4 5 6 7 8 9 10 11 |
x |
data for plot, it should be class of nCov2019 or nCov2019Hisory. |
region |
If Global or a specified region. |
continuous_scale |
logical, Whether to use continuous fill color, if TRUE(the default), use continuous type, otherwise use discrete type. |
palette |
If a string, will use that named palette. If a number, will index into the list of palettes of appropriate type. The list of available palettes can found in the Palettes section. |
date |
Specify the date. |
title |
Title of the map. |
type |
Specify the type of Statistics. |
... |
Additional parameters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.