title: Create a 100% stacked bar chart
body: <p>I have the following table:</p>
  <pre><code>+-------------+--------+-----+
  |       fields|  Status|count|
  +-------------+--------+-----+
  |     LastName|complete|27399|
  |         Race| missing|  146|
  |        Email| missing|24225|
  |      MidName|complete|26078|
  |StreetAddress|complete|27269|
  |        Phone| missing|   59|
  |        State| missing|   28|
  |    FirstName|complete|27399|
  |       Gender|complete|27403|
  |   Expiration|complete|14017|
  |StreetAddress| missing|  134|
  +-------------+--------+-----+
  </code></pre>
  <p>And I would like to create a stacked bargraph with unique values of status on x-axis stacked by status with values from the count.</p>
  <p>I have been played around with simple ones:</p>
  <pre><code>per_df.plot(kind='bar',stacked=True)
  
  </code></pre>
  <p>and also tried seaborn</p>
  <pre><code>  sns.barplot(data=data, x='fields',y='status')
    plt.tight_layout()
    plt.show()
  </code></pre>
  <p>I also tried several other ways, that I already deleted.</p>
  <p>I also checked on the following:</p>
  <p><a href="https://stackoverflow.com/questions/61888816/how-to-plot-a-bar-plot-of-2-categorical-columns-using-matplotlib-or-seaborn">How to plot a bar plot of 2 categorical columns using matplotlib or seaborn</a></p>
  <p><a href="https://pythonguides.com/stacked-bar-chart-matplotlib/" rel="nofollow noreferrer">https://pythonguides.com/stacked-bar-chart-matplotlib/</a></p>
  <p><a href="https://www.geeksforgeeks.org/plot-multiple-columns-of-pandas-dataframe-on-bar-chart-with-matplotlib/" rel="nofollow noreferrer">https://www.geeksforgeeks.org/plot-multiple-columns-of-pandas-dataframe-on-bar-chart-with-matplotlib/</a></p>
  <p>but all of them only have one categorical variable. Thank you for the guidance</p>