Bar charts (bar graphs) is commonly used to show comparisons among categories (clusters, groups) with rectangular bars. Each bar’s height (vertical bars) or length (horizontal bars) is proportional to the values that they represent. This article presents how to draw basic and stacked bar chart with the Python module Matplotlib.