From what you've described so far, a bar graph does not seem optimal. What about this approach instead?
It basically outputs what you showed in your sketch. Change the y-tick to your label of choice. If you want to plot multiple arrays, just make a for loop with a variable y-coordinate.