reusable barchart scheleton