Data Visualization

Suppose one data frame has two categorical variables, one is gender(male and female) and other one is smoking status(smokes, never smoked, formerly smokes, unknown) . Now how do we get a grouped bar plot of the smoking status with respect to gender in Julia.
Like in python if we write using seaborn, sns.countplot(hue = “gender”, x = “smoking status”, data = df) where df is my data frame.

Maybe in long run is better if you take a look at Tutorial 🐧 · Algebra of Graphics

if it looks like to much to achieve your goal, please share some toy example data and attempt so that we can help you.