绘制世界疫情地图并显示当天确诊人数
## https://zhuanlan.zhihu.com/p/122971494
## 获取全部数据:https://coronavirus-tracker-api.herokuapp.com/all
##
## 获取确诊数据:https://coronavirus-tracker-api.herokuapp.com/confirmed
##
## 获取死亡数据:https://coronavirus-tracker-api.herokuapp.com/deaths
##
## 获取治愈数据:https://coronavirus-tracker-api.herokuapp.com
import requests
import json
from pyecharts import Map, Geo
fq=open("information.txt","r")
json_text=json.loads(fq.read())#读取文件
date="12/20/20"
'''
location=json_text["confirmed"]["locations"][0]["country"]
data=json_text["confirmed"]["locations"][0]["history"]["3/12/20"]
print(str(data[0])+" "+location)
'''
value=[]
attr=[]
ussum=0
chinasum=0
Canadasum=0
UKsum=0
Australiasum=0
Francesum=0
for i in range(0,len(json_text["confirmed"]["locations