added bar chart for freq dist