<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="K7IqlBszlzK!wPfU?z`;">list</variable>
    <variable id="NtA1nQs1WE@E6`}r[2C3">name</variable>
    <variable id="A~hZ15F`!h?6$}pLczV=">bar_chart</variable>
    <variable id="XRFsa6L+F:2Q8$!62?QI">i</variable>
    <variable id="dx9$+`0=0PV3i:JiVz-T">headder_flag</variable>
    <variable id="TyQvVCk)_b{.h,o]]6q+">line</variable>
    <variable id="fbn7p]zUEcC$K?B4A9V9">data</variable>
  </variables>
  <block type="import_pygal" id="02b`~M[UBwGeXEaz/H{d" x="27" y="111">
    <next>
      <block type="webtypeanything" id="zXil3Y_MIp3#8XIYNUW,">
        <value name="stuff">
          <shadow type="textinline" id="A!2g0QXcznq2].J;YYjL">
            <field name="text">import urllib.request</field>
          </shadow>
        </value>
        <next>
          <block type="create_list" id="}a*6eoI_/1QuRW]i{P/^">
            <field name="list" id="K7IqlBszlzK!wPfU?z`;">list</field>
            <value name="text">
              <shadow type="textinline" id="#j6h85jMaoGx`_CSs9qA">
                <field name="text"/>
              </shadow>
            </value>
            <next>
              <block type="webtypeanything" id="#N{%2%M.^]Wu)Sy`#+1I">
                <value name="stuff">
                  <shadow type="textinline" id="rmQDKATu|oOuP-}8a?g5">
                    <field name="text">f = urllib.request.urlopen('https://oku.edu.mie-u.ac.jp/~okumura/python/data/COVID-tokyo.csv')</field>
                  </shadow>
                </value>
                <next>
                  <block type="variables_set" id="N^m^=eANA=Qx#UEBM_rq">
                    <field name="VAR" id="dx9$+`0=0PV3i:JiVz-T">headder_flag</field>
                    <field name="NAME">=</field>
                    <comment id="undefined" pinned="false" h="80" w="160">見出し行1行を除くためのフラグ</comment>
                    <value name="varset">
                      <shadow type="textinline" id="NP)v%eDe{*,Dz`HkVx?Y">
                        <field name="text">True</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="webadvancedforloops" id="%lz`0+d~Ikkp(4u]QO#/">
                        <value name="x">
                          <shadow type="textinline" id="qwCrTDs5i,=c?!T(W$83">
                            <field name="text">x</field>
                          </shadow>
                          <block type="variables_get" id="G/^|1-]=K{^HO`h{)slu">
                            <field name="VAR" id="TyQvVCk)_b{.h,o]]6q+">line</field>
                          </block>
                        </value>
                        <value name="y">
                          <shadow type="textinline" id="Z%:tcoL*D3}G|#7Y-]8+">
                            <field name="text">f</field>
                          </shadow>
                        </value>
                        <statement name="DO">
                          <block type="webifinline" id="$g`;:F4r:Rw|H^OkvvmQ">
                            <value name="iftext">
                              <shadow type="textinline" id="ELVZ|Yp{XfSC7v:g%MzJ">
                                <field name="text">True</field>
                              </shadow>
                              <block type="webinternal" id="-5cZM6hmg(Z@tA1B;yL3">
                                <field name="choose">==</field>
                                <value name="first">
                                  <shadow type="textinline" id="p{QnJfE}.@thzcqs,Hw/">
                                    <field name="text">0</field>
                                  </shadow>
                                  <block type="variables_get" id="+K{A^#^u,O**|eJWVa]H">
                                    <field name="VAR" id="dx9$+`0=0PV3i:JiVz-T">headder_flag</field>
                                  </block>
                                </value>
                                <value name="last">
                                  <shadow type="textinline" id="CI]7rrHM`~B.fC=ZgrCy">
                                    <field name="text">True</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <statement name="ifstate">
                              <block type="variables_set" id="xG;gvdcC|C3-4$({#fYD">
                                <field name="VAR" id="dx9$+`0=0PV3i:JiVz-T">headder_flag</field>
                                <field name="NAME">=</field>
                                <comment id="undefined" pinned="false" h="80" w="160">見出し行1行を除くためのフラグ</comment>
                                <value name="varset">
                                  <shadow type="textinline" id="OZqE5w/;EV0=5.;5H+1m">
                                    <field name="text">False</field>
                                  </shadow>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="webelse" id="vPHX?r~_tKz0loX8gp?v">
                                <statement name="DO">
                                  <block type="webtypeanything" id="!S)EjbV6xeXj46m}ieV_">
                                    <value name="stuff">
                                      <shadow type="textinline" id="8Wvv?0uRrM;A`Op)1@H/">
                                        <field name="text">data = int(line.split(",")[1])</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="optionlist" id="{Q`41!!$1KzDuPBQ^GB!">
                                        <field name="list" id="K7IqlBszlzK!wPfU?z`;">list</field>
                                        <field name="options">append</field>
                                        <value name="text">
                                          <shadow type="textinline" id="NJQx}I._BT0p#WFJd(6R">
                                            <field name="text">item[1]</field>
                                          </shadow>
                                          <block type="webint" id="b)el)2[IP8/EJRe.S?7t">
                                            <value name="bool">
                                              <shadow type="textinline" id="F=T#hk{/:}Tfx5z8iHPh">
                                                <field name="text">1</field>
                                              </shadow>
                                              <block type="variables_get" id="[)u/oid@f0A_atr9IK1f">
                                                <field name="VAR" id="fbn7p]zUEcC$K?B4A9V9">data</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="chart_type" id="I{=D?:yRO[flku~1U*pj">
                            <field name="name" id="A~hZ15F`!h?6$}pLczV=">bar_chart</field>
                            <field name="chartTypes">Bar</field>
                            <value name="text">
                              <shadow type="textinline" id="5lJd`TWvoB![R51fs:xg">
                                <field name="text"/>
                              </shadow>
                            </value>
                            <next>
                              <block type="webtypeanything" id="i%)3r`~:d6Z^y%tskvEI">
                                <value name="stuff">
                                  <shadow type="textinline" id="52,VF`FWNe.06-]NWf(t">
                                    <field name="text">bar_chart.add("コロナ新規感染者数", list2)</field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="chart_render" id="rNxZ|MKf9G(~1DlgmfNS">
                                    <field name="name" id="A~hZ15F`!h?6$}pLczV=">bar_chart</field>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>