Adding data and bar chart