title: Plotting multiple stacked bar graph given a pandas dataframe in Python
body: <p>There are a few things that I would like to express in a bar chart and have no clue about doing it using basic graphing techniques in <code>matplotlib</code>. I have a dataframe which is shown below and would like to obtain a bar chart as described below. The x-axis is based on the the <code>Type</code> column of the dataframe and within a single bar, the different colors are based on the <code>Name</code> column and the size of the bar is defined by the <code>Count</code> number. The color of the different names need not to be the same across different types,
   as long as the colors within a single bar is different.<a href="https://i.stack.imgur.com/uNogu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uNogu.png" alt="Example of the given dataframe"></a>
  <a href="https://i.stack.imgur.com/UdhU5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UdhU5.png" alt="Bar chart"></a></p>