Prepares and modifies data mappings for SveltePlot chart rendering. This function is internally used by the `sp()` function to handle data transformation based on chart type and aesthetic mappings.
mutate_mapping(
data,
mapping,
create_configurations,
size,
alpha,
tooltip,
colors = NULL,
mode,
include_legend,
breaks,
facet_var
)
Modified chart configurations.
Data frame to be processed.
Aesthetic mappings created by `spaes()`.
Function to create default configurations for charts.
alpha, tooltip Visual properties for the chart.
Custom colors for the chart, if specified.
Specific mode for bar charts ("stacked", "grouped", etc.).
Logical indicating whether to include a legend.
Break points for histograms.