title: How can I create a stacked barchart with timedeltas using matplotlib?
body: <p>just getting into data visualization with pandas. At the moment i try to visualize a pd with matplotlib that looks like this:</p>
  
  <pre><code>              Initiative_160608 Initiative_160570 Initiative_160056  
  Beschluss_BR         2009-05-15        2009-05-15        2006-04-07   
  Vorlage_BT           2009-05-22        2009-05-22        2006-04-26   
  Beratung_BT          2009-05-28        2009-05-28        2006-05-11   
  ABeschluss_BT        2009-06-17        2009-06-17        2006-05-17   
  Beschlussempf        2009-06-17        2009-06-17        2006-05-26   
  
  </code></pre>
  
  <p>As you can see, i have a number of columns with five different dates (every date symbolizes one event in a total chain of five events). Now to the problem:</p>
  
  <p>My plan is to visualize shown data with a stacked horizontal chart, using the timedeltas between the 5 different events (how many days have passed between the first and last event, including the dates in between). Every Column should represent one bar in the chart. The whole chart is not about the absolute time that has passed, but about the duration of the five events in relation to the overall duration of one column, which means that all bars should have the same overall length.</p>
  
  <p>Yet i haven`t found anything similar or found a solution by myself. I would be extremely thankful for any kind of solution to proceed with the shown data.</p>