var GZData=[];
contents.map(function(item){
GZData.push([{name:"广州"},{name:item.Plan_ADEP,value:item.Plan_ACID_Three}]);
})
console.log(GZData)
Note: contents. is the contents array in the data of your picture. You take it out; then GZData is the format you want. I don’t know. {name: "Guangzhou"}, {name: item.Plan_ADEP, value: item.Plan_ACID_Three} Which one you want to target, you can use item to correspond
I don’t know if I understood you wrong
Note: contents. is the contents array in the data of your picture. You take it out; then GZData is the format you want. I don’t know.
{name: "Guangzhou"}, {name: item.Plan_ADEP, value: item.Plan_ACID_Three} Which one you want to target, you can use item to correspond