plotting categorical variables