A bar chart is graphical representation of data where the value is represented by the length of the bar.
Bar charts are used for marking clear data which has discrete values. Some examples of discontinuous data include 'shoe size' or 'eye color', for which a bar chart is appropriate. In contrast, some examples of continuous data would be 'height' or 'weight'. A bar chart is very useful for recording certain information whether it is continuous or not continuous data. Bar charts also look a lot like histograms. They are often mistaken for each other.
Example of a bar chart, with 'Country' as the discrete data set.
Source: eNotes (Bar chart)
In scientific software r for statistical computing and graphics, a bar-chart can be generated by function barplot
.