【发布时间】:2018-01-03 09:44:24
【问题描述】:
就像地理绘图中有一个“美国州”作为位置模式一样,印度有什么东西吗?
data = dict(type = 'choropleth',
locations = ['AZ','CA','NY'],
locationmode = 'USA-states',
colorscale= 'Portland',
text= ['text1','text2','text3'],
z=[1.0,2.0,3.0],
colorbar = {'title':'Colorbar Title'})
【问题讨论】:
-
你看这里了吗? plot.ly/python/choropleth-maps
标签: python pandas data-analysis