1 Star 0 Fork 0

su/SuPages

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
2021_01_09_china_inc.html 17.28 KB
一键复制 编辑 原始数据 按行查看 历史
su 提交于 2021-01-12 22:13 . reload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Awesome-pyecharts</title>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/bmap.min.js"></script>
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=6C16uYYzKWk8PZXpdVgmGkNTyVlPxGSG"></script>
<script type="text/javascript" src="https://api.map.baidu.com/getscript?v=2.0&ak=6C16uYYzKWk8PZXpdVgmGkNTyVlPxGSG"></script>
</head>
<body>
<div>
<h4><a href="https://su_muse_208.gitee.io/su-pages/">Back</a></h4>
</div>
<div id="e92c75063d92417dadb4b9897d0d10b2" class="chart-container" style="width:1400px; height:800px;"></div>
<script>
var chart_e92c75063d92417dadb4b9897d0d10b2 = echarts.init(
document.getElementById('e92c75063d92417dadb4b9897d0d10b2'), 'white', {renderer: 'canvas'});
var option_e92c75063d92417dadb4b9897d0d10b2 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"color": [
"#c23531",
"#2f4554",
"#61a0a8",
"#d48265",
"#749f83",
"#ca8622",
"#bda29a",
"#6e7074",
"#546570",
"#c4ccd3",
"#f05b72",
"#ef5b9c",
"#f47920",
"#905a3d",
"#fab27b",
"#2a5caa",
"#444693",
"#726930",
"#b2d235",
"#6d8346",
"#ac6767",
"#1d953f",
"#6950a1",
"#918597"
],
"series": [
{
"type": "effectScatter",
"coordinateSystem": "bmap",
"showEffectOn": "render",
"rippleEffect": {
"show": true,
"brushType": "stroke",
"scale": 2.5,
"period": 4
},
"symbolSize": 10,
"data": [
{
"name": "\u9999\u6e2f",
"value": [
114.173355,
22.320048,
59
]
},
{
"name": "\u6cb3\u5317",
"value": [
114.468664,
38.037057,
86
]
},
{
"name": "\u4e0a\u6d77",
"value": [
121.473701,
31.230416,
4
]
},
{
"name": "\u53f0\u6e7e",
"value": [
121.509062,
25.044332,
3
]
},
{
"name": "\u8fbd\u5b81",
"value": [
123.42944,
41.835441,
3
]
},
{
"name": "\u5e7f\u4e1c",
"value": [
113.26653,
23.132191,
1
]
},
{
"name": "\u5317\u4eac",
"value": [
116.407526,
39.90403,
1
]
},
{
"name": "\u798f\u5efa",
"value": [
119.295144,
26.100779,
6
]
},
{
"name": "\u9655\u897f",
"value": [
108.954239,
34.265472,
1
]
},
{
"name": "\u56db\u5ddd",
"value": [
104.075931,
30.651651,
0
]
},
{
"name": "\u5185\u8499\u53e4",
"value": [
111.765617,
40.817498,
0
]
},
{
"name": "\u5929\u6d25",
"value": [
117.200983,
39.084158,
4
]
},
{
"name": "\u6d59\u6c5f",
"value": [
120.152791,
30.267446,
2
]
},
{
"name": "\u9ed1\u9f99\u6c5f",
"value": [
126.661669,
45.742347,
0
]
},
{
"name": "\u4e91\u5357",
"value": [
102.710002,
25.045806,
0
]
},
{
"name": "\u6cb3\u5357",
"value": [
113.753602,
34.765515,
0
]
},
{
"name": "\u5c71\u4e1c",
"value": [
117.020359,
36.66853,
0
]
},
{
"name": "\u5c71\u897f",
"value": [
112.562398,
37.873531,
1
]
},
{
"name": "\u6c5f\u82cf",
"value": [
118.763232,
32.061707,
0
]
},
{
"name": "\u5b89\u5fbd",
"value": [
117.284922,
31.861184,
0
]
},
{
"name": "\u5e7f\u897f",
"value": [
108.327546,
22.815478,
0
]
},
{
"name": "\u6e56\u5357",
"value": [
112.98381,
28.112444,
0
]
},
{
"name": "\u65b0\u7586",
"value": [
87.627704,
43.793026,
0
]
},
{
"name": "\u7518\u8083",
"value": [
103.826308,
36.059421,
0
]
},
{
"name": "\u91cd\u5e86",
"value": [
106.551556,
29.563009,
0
]
},
{
"name": "\u8d35\u5dde",
"value": [
106.70741,
26.598194,
0
]
},
{
"name": "\u5409\u6797",
"value": [
125.32599,
43.896536,
0
]
},
{
"name": "\u5b81\u590f",
"value": [
106.258754,
38.471317,
0
]
},
{
"name": "\u6c5f\u897f",
"value": [
115.909228,
28.675696,
0
]
},
{
"name": "\u6fb3\u95e8",
"value": [
113.54909,
22.198951,
0
]
},
{
"name": "\u897f\u85cf",
"value": [
91.117212,
29.646922,
0
]
},
{
"name": "\u6e56\u5317",
"value": [
114.341861,
30.546498,
0
]
}
],
"label": {
"show": true,
"position": "top",
"margin": 8,
"formatter": function(params) { if ('value' in params.data) { return params.data.value[2]; } }
},
"itemStyle": {}
}
],
"legend": [
{
"data": [
""
],
"selected": {
"": true
},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14
}
],
"tooltip": {
"show": true,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"showContent": true,
"alwaysShowContent": false,
"showDelay": 0,
"hideDelay": 100,
"formatter": function(params) { if ('value' in params.data) { return params.data.name + '<br>' + params.data.value[2]; } },
"textStyle": {
"fontSize": 14
},
"borderWidth": 0,
"padding": 5
},
"title": [
{
"text": "2021.01.09\u56fd\u5185\u65b0\u589e\u4eba\u6570",
"subtext": "2021.01.09",
"left": "center",
"padding": 5,
"itemGap": 10,
"textStyle": {
"color": "#fff"
}
}
],
"visualMap": {
"show": true,
"type": "piecewise",
"min": 0,
"max": 300,
"inRange": {
"symbolSize": [
20,
50
]
},
"calculable": true,
"inverse": false,
"splitNumber": 5,
"orient": "vertical",
"left": "10",
"top": "10",
"showLabel": true,
"itemWidth": 20,
"itemHeight": 14,
"borderWidth": 0,
"pieces": [
{
"max": 149,
"min": 120,
"label": ">=120",
"color": "#B40404"
},
{
"max": 119,
"min": 90,
"label": "90-119",
"color": "#DF0101"
},
{
"max": 89,
"min": 60,
"label": "60-89",
"color": "#F78181"
},
{
"max": 59,
"min": 30,
"label": "30-59",
"color": "#F5A9A9"
},
{
"max": 29,
"min": 1,
"label": "1-29",
"color": "#FFFFCC"
},
{
"value": 0,
"label": "0",
"color": "grey"
}
]
},
"bmap": {
"center": [
104.114129,
37.550339
],
"zoom": 5,
"roam": true,
"mapStyle": {
"styleJson": [
{
"featureType": "water",
"elementType": "all",
"stylers": {
"color": "#044161"
}
},
{
"featureType": "land",
"elementType": "all",
"stylers": {
"color": "#004981"
}
},
{
"featureType": "boundary",
"elementType": "geometry",
"stylers": {
"color": "#064f85"
}
},
{
"featureType": "railway",
"elementType": "all",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "highway",
"elementType": "geometry",
"stylers": {
"color": "#004981"
}
},
{
"featureType": "highway",
"elementType": "geometry.fill",
"stylers": {
"color": "#005b96",
"lightness": 1
}
},
{
"featureType": "highway",
"elementType": "labels",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "arterial",
"elementType": "geometry",
"stylers": {
"color": "#004981"
}
},
{
"featureType": "arterial",
"elementType": "geometry.fill",
"stylers": {
"color": "#00508b"
}
},
{
"featureType": "poi",
"elementType": "all",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "green",
"elementType": "all",
"stylers": {
"color": "#056197",
"visibility": "off"
}
},
{
"featureType": "subway",
"elementType": "all",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "manmade",
"elementType": "all",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "local",
"elementType": "all",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "arterial",
"elementType": "labels",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "boundary",
"elementType": "geometry.fill",
"stylers": {
"color": "#029fd4"
}
},
{
"featureType": "building",
"elementType": "all",
"stylers": {
"color": "#1a5787"
}
},
{
"featureType": "label",
"elementType": "all",
"stylers": {
"visibility": "off"
}
}
]
}
}
};
chart_e92c75063d92417dadb4b9897d0d10b2.setOption(option_e92c75063d92417dadb4b9897d0d10b2);
var bmap = chart_e92c75063d92417dadb4b9897d0d10b2.getModel().getComponent('bmap').getBMap();
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/su_muse_208/su-pages.git
git@gitee.com:su_muse_208/su-pages.git
su_muse_208
su-pages
SuPages
master

搜索帮助