How do echarts maps mark provinces with data on the map?

clipboard.png

as shown in the figure, you need to mark a province with data, and the data returned to me from the background is also about the province. You can also click on a province on the map to see the province"s data. Similarly, you also need to mark which areas of this province need to be specially marked. Is my need a scatter chart? all the scatter maps I know are based on the coordinates of a city, but How do I know the coordinates of the provinces that have the data?

May.10,2022
The reason why

demo are all cities is that there are many cities, and it doesn't look good if you save too little. If you want to make a scatter chart, just input the coordinates of the provincial capital city as the basic data. https://www.echartsjs.com/exa... is also punctuated by directly using coordinates as data

Menu