working barchart with dropdown and transitions between graphs