Learn R Programming

SveltePlots (version 0.1.0)

density_chart: Internal: Prepare Density Chart Data

Description

Transforms data for rendering density charts. This function is part of the internal mechanics for data preparation in SveltePlot charts.

Usage

density_chart(
  data,
  create_configurations,
  size,
  alpha,
  tooltip,
  colors,
  include_legend,
  facet_var
)

Value

Configuration list with modified data for density chart.

Arguments

data

Data frame to be processed.

create_configurations

Function to create default configurations for charts.

size

alpha, tooltip Visual properties for the chart.

colors

Custom colors for the chart, if specified.

include_legend

Logical indicating whether to include a legend.