Implemented key

Depending on the barchart, you may have to tweak positions by hand.