A line graph shows how data changes over time ... A histogram shows continuous data, such as different age groups, and therefore the bars are drawn without gaps between them.