## @knitr heatmap-layer
data("sf_bike_parking")
map <- deckgl() %>%
add_heatmap_layer(
data = sf_bike_parking,
getPosition = ~lng + lat,
getWeight = ~spaces
) %>%
add_basemap()
if (interactive()) map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.