Handles data preparation for bar charts with modes such as stacked or grouped.
bar_chart(
data,
create_configurations,
size,
alpha,
tooltip,
colors,
mode,
include_legend,
facet_var
)
Configuration list with modified data for bar chart.
Data frame to be processed.
Function to create default configurations for charts.
alpha, tooltip Visual properties for the chart.
Custom colors for the chart, if specified.
Bar chart mode ("stacked", "grouped", "percent").
Logical indicating whether to include a legend.