Added the front-end for the bar chart