tables bar graph working