Creates an animated histogram where bars grow from the x-axis. Supports custom bin widths, color mapping, and optional density overlay.
Usage
animate_histogram(
data,
bins = 30,
color = BLUE,
axes = NULL,
show_density = FALSE,
density_color = YELLOW,
duration = 3
)