How are bar graphs and histograms similar