improve bar chart