add the reusable bar chart