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



crazycapivara/deckgl documentation built on March 29, 2023, 4:10 a.m.