example <- paste0(
  rprojroot::find_package_root_file(),
  "/inst/examples/deckgl-api-reference/grid-layer.R"
)
do.call(knitr::read_chunk, list(path = example))

The GridLayer renders a grid heatmap based on an array of points. It takes the constant size all each cell, projects points into cells. The color and height of the cell is scaled by number of points it contains.


See also deckgl-api-reference-grid-layer



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