explained a test for the bar chart