plot_categorical function

Plot a categorical variable by sub-groups