Issues with tally chart for categorical data