created bar chart with that generates random dataset on reload