working horizontal bar chart
updated barchart