{
  "chartType":"map",
  "title": {
    "show": true,
    "text": "主要城市空气质量",
    "left": "left",
    "padding": [5,20,5,10],
    "textStyle": {
      "fontSize": 18,
      "fontWeight": "bolder",
      "color": "#c23531"
    }
  },
  "tooltip": {
    "show":true,
    "textStyle":{
      "color":"#fff",
      "fontSize": 18
    }
  },
  "geo":{
    "map": "china",
    "layoutCenter": ["50%", "50%"],
    "layoutSize": 600,
    "zoom":0.7,
    "roam": true,
    "label": {
      "show": true,
      "color":"#000",
      "fontSize":12
    },
    "regions": [],
    "emphasis": {
      "label": {
        "color": "#fff"
      },
      "itemStyle": {
        "areaColor":"red"
      }
    },
    "itemStyle": {
      "borderWidth": 0.5,
      "borderColor": "#000",
      "areaColor": "#61A0A8"
    }
  },
  "series": [
    {
      "name": "",
      "type": "scatter",
      "coordinateSystem": "geo",
      "data": [
        { "name":"河北","value":279},
        { "name":"海南","value":273},
        { "name":"山东","value":229},
        { "name":"甘肃","value":194},
        { "name":"宁夏","value":193},
        { "name":"浙江","value":177},
        { "name":"湖南","value":119},
        { "name":"湖北","value":79},
        { "name":"河南","value":67},
        { "name":"北京","value":58},
        { "name":"天津","value":59},
        { "name":"上海","value":63},
        { "name":"广州","value":74}
      ],
      "encode": {
        "value": [2]
      },
      "label": {
        "formatter": "{b}",
        "position": "right",
        "show": false
      },
      "itemStyle": {
        "color": "purple"
      },
      "emphasis": {
        "label": {
          "show": true
        }
      }
    }
  ]
}