hgch_treemap_Cat: treemap chart for a categorical variable

View source: R/00_treemap.R

hgch_treemap_CatR Documentation

treemap chart for a categorical variable

Description

This function creates a horizontal or vertical treemap chart for a categorical variable.

Usage

hgch_treemap_Cat(data, ...)

Arguments

data

a data frame.

...

additional arguments to pass to the hgch_treemap function.

Value

A highchart object.

Examples

data(iris)
iris <- iris |> dplyr::select(Species)
hgch_treemap_Cat(iris, percentage = TRUE)

randommonkey/hgchmagic documentation built on Aug. 23, 2023, 5:56 a.m.