Amended CategoricalBarPlot to work off % and to place legend in end pane