Specific as follows: the first picture is geo custom map design code, using json import map
The second picture is the map coordinates incoming data format (name, data)
Is the third dimension=0 is set, the result is longitude value mapping
The fourth picture is if set dimension=2, but the dimension data for the two columns is [[20279], [...],... The form of a nested list
, it is mapping out
Again pyecharts genuflect is begged bosses can help me to solve this problem
CodePudding user response:
Didn't understand this, it is suggested that the problem:The 2 sets of data,
Group A is your original data,
Group B is you can display the data in the geo, normal
Study how to convert group A to group B, problem solved?
CodePudding user response:
This is the import of geo data[' chaohu stores, [13, 1427, 'chaohu stores']],
[' LuJiang andry co ', [63, 8216, 'LuJiang andry co']],
New 2 stores [' LuJiang andry, [92, 12768, 'LuJiang andry 2 new stores]],
[' bengbu bonhams (proprietary) ', [20, 2830, 'bengbu baolong (proprietary)]],
[' bengbu old one hundred, [20, 2794, 'old bengbu one hundred big]],
[guixi stores, [48, 10955, guixi stores]],
[' yingtan store, [36, 5153, 'yingtan store]]
]