Bar Plots¶

Bar plots are essential for comparing categorical data, showing distributions across groups, and visualizing survey results. Rekha’s bar plots support vertical and horizontal orientations, grouping, stacking, and custom styling.

Basic Usage¶

import rekha as rk
import pandas as pd

# Simple bar plot
df = pd.DataFrame({
    'category': ['A', 'B', 'C', 'D'],
    'value': [23, 45, 12, 67]
})

fig = rk.bar(df, x='category', y='value', title='Simple Bar Plot')
fig.show()

Parameters¶

See the API Reference for complete parameter documentation.

See Also¶