Every graph shows comparisons of some kind or another.
bar graph, line graph
A pie or stacked bar.
Any kind of properly drawn graph does. That's what graphs do.
A bar graph shows discreet data, but other types can also.
A pie chart.