Description Usage Arguments Value
Create a ggplot object representing the demand map
1 | plotDemandMap(mapData, stateScoresData)
|
mapData |
data.frame w/ long, lat, and region columns; region = state name. This provides the lat/lon for the state boundaries. |
stateScoresData |
tibble w/ state, totalScore, printScore, lat, and long. This provides the lat/lon for the state midpoints. |
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.