<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>h-wadsworth02</author_name>
  <author_url>https://blog.hatena.ne.jp/h-wadsworth02/</author_url>
  <blog_title>データの裏側を歩く</blog_title>
  <blog_url>https://www.medi-08-data-06.work/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>縦軸が割合になっている棒グラフを作成したい！という方、今回は一瞬で割合棒グラフ作成する方法をご紹介します。これより簡単にかけるぜ！って方がいらっしゃったら是非コメントいただけると幸いです。 A,B,Cの数を割合で表したい。 今回は、A、B、 Cの文字数を割合の棒グラフで表してみます。はじめにグラフ作成用データを作成しておきます。 import pandas as pd import random import matplotlib.pyplot as plt plt.style.use('seaborn') #データを生成 label = random.choices(['A','B','C'…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.medi-08-data-06.work%2Fentry%2Fhow_to_make_bar&quot; title=&quot;Pythonで割合棒グラフ、積み上げ棒グラフを一瞬で作成する。 - データの裏側を歩く&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/h/h-wadsworth02/20200801/20200801092345.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-01 09:31:54</published>
  <title>Pythonで割合棒グラフ、積み上げ棒グラフを一瞬で作成する。</title>
  <type>rich</type>
  <url>https://www.medi-08-data-06.work/entry/how_to_make_bar</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
