Finished implementation of the bar chart.
Still need to review the click event to consider other places than just the bars.