R/geom_count_interactive.R

Defines functions geom_count_interactive

Documented in geom_count_interactive

#' @title Create interactive point counts
#'
#' @description
#' The geometry is based on [geom_bin2d()].
#' See the documentation for those functions for more details.
#'
#' @param ... arguments passed to base function,
#' plus any of the [interactive_parameters].
#' @inheritSection interactive_parameters Details for interactive geom functions
#' @examples
#' # add interactive point counts to a ggplot -------
#' @example examples/geom_count_interactive.R
#' @seealso [girafe()]
#' @export
geom_count_interactive <- function(...)
  layer_interactive(geom_count, ..., interactive_geom = GeomInteractivePoint)
davidgohel/ggiraph documentation built on April 13, 2024, 7:19 a.m.