add reusbale bar chart implementation