explain how a bar graph and apictograph are used to compare data