title: stacked bar using data from YouTube
body: <p>I am fetching data from <code>YouTube</code> <strong>API</strong> to plot <code>VideoCategories</code> and the <code>country</code> in a stacked plot <strong>Bar</strong> <code>chart</code>:</p>
  <p>I`m Trying:</p>
  <pre><code>country_category4 = df_AnzahlTag[['channelCountry', 'videoCategoryName']]
  test5 = country_category4.set_index('channelCountry')['videoCategoryName'].value_counts()
  test5.plot(kind='bar', stacked=True)
  plt.show()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/z9KPM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z9KPM.png" alt="enter image description here" /></a></p>