Added Bar graph functionality