simplify barchart example