A bar chart or bar plot displays rectangular bars with lengths proportional to the values that they represent. The bars can be plotted vertically or horizontally. One axis of the chart shows

the specific categories being compared, and the other axis represents a discrete value. In R, they are made using the barplot function. Bars can be grouped by categories,

making grouped barplot. Barplot must not be confused with histogram nor with boxplot.

Basic barplot


Custom barplot

Grouped and stacked barplot

ggplot2 barplots

Other charts involving barplot

There is a selection of graphics that do not target barplots, but involve it. See also the histogram and boxplot categories.

Looking for somethig else ? Try a search !

Leave a Reply

Be the First to Comment!

Notify of