Implementation of Bar Chart