example <- paste0( rprojroot::find_package_root_file(), "/inst/examples/deckgl-api-reference/hexagon-layer.R" ) do.call(knitr::read_chunk, list(path = example))
The HexagonLayer
renders a hexagon heatmap based on an array of points. It takes the radius of hexagon bin, projects points into hexagon bins. The color and height of the hexagon is scaled by number of points it contains.
See also deckgl-api-reference-hexagon-layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.