Highcharts Density Plot

hc_density(
  data,
  x = NULL,
  group = NULL,
  color = NULL,
  color_type = "discrete",
  color_palette = "lisa::Jean_MichelBasquiat_1",
  show_colors = T,
  direction = 1,
  opacity = 1,
  title = NULL,
  subtitle = NULL,
  caption = NULL,
  credits = NULL,
  transformations = NULL,
  theme_name = "clean_unica",
  theme_custom = NULL,
  annotations = NULL,
  disable_x = F,
  disable_y = F,
  override_series = NULL,
  override_marker = NULL,
  override_legend_location = NULL,
  override_x_categories = NULL,
  isolate_legend_group = F,
  invert_chart = F,
  use_point_select = T,
  zoom_type = c("xy"),
  override_x_label = NULL,
  override_y_label = NULL,
  override_x_format = NULL,
  override_y_format = NULL,
  override_x_text = NULL,
  override_y_text = NULL,
  share_tooltip = F,
  use_shadow = F,
  is_polar = F,
  boost = F,
  disable_legend = F,
  legend_font_size = NULL,
  element_id_text = NULL,
  axis_scrollbars = NULL,
  x_min_max = NULL,
  y_min_max = NULL,
  transparent_tooltip = F,
  use_range_selector = F,
  export = F,
  stacking = NULL,
  ...
)

Arguments

...

Value

Examples


library(tidyverse)
library(asbviz)

hc_density(data = iris, x = "Sepal.Width", title = "Iris Sepal Width")

hc_density(data = iris, x = "Sepal.Width", group = "Species", title = "Iris Sepal Width by Group")