separate Bar chart into its own module