Echarts 地图

Javascript

require('../../plugins/echarts/module');
    var chart = $p.echarts("my_chart", {
        type: "map",
        title: {
            text: "浏览量(PV)地域分布图"
        }
    });

    chart.load({
        name: "pv",
        mapType: "world",
        data: [{
            value: 735,
            name: 'geo.country.china'
        }, {
            value: 423,
            name: 'United States of America'
        }, {
            value: 310,
            name: 'geo.country.italy'
        }, {
            value: 300,
            name: '俄罗斯'
        }]
    });

基于版本

[v3.2.3] https://github.com/ecomfe/echarts/tree/3.2.3

更多实例

http://echarts.baidu.com/examples.html