Learn R Programming

SveltePlots (version 0.1.0)

histogram: Internal: Prepare Histogram Data

Description

Transforms and bins data for histogram chart rendering within the SveltePlot package.

Usage

histogram(
  data,
  create_configurations,
  size,
  alpha,
  tooltip,
  colors,
  breaks,
  include_legend,
  facet_var
)

Value

Configuration list with modified data for histogram.

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.

breaks

Break points for histograms.

include_legend

Logical indicating whether to include a legend.