1 Star 0 Fork 0

su/SuPages

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
china_affect.html 11.75 KB
一键复制 编辑 原始数据 按行查看 历史
su 提交于 2021-01-12 22:13 . reload
<!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/echarts-gl.min.js"></script>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/maps/china.js"></script>
</head>
<body>
<div>
<h4><a href="https://su_muse_208.gitee.io/su-pages/">Back</a></h4>
</div>
<div id="1ffab681caf34e109bd98860e30b343d" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_1ffab681caf34e109bd98860e30b343d = echarts.init(
document.getElementById('1ffab681caf34e109bd98860e30b343d'), 'white', {renderer: 'canvas'});
var option_1ffab681caf34e109bd98860e30b343d = {
"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": "bar3D",
"name": "bar3D",
"coordinateSystem": "geo3D",
"grid3DIndex": 0,
"geo3DIndex": 0,
"globeIndex": 0,
"barSize": 1,
"bevelSize": 0,
"bevelSmoothness": 5,
"minHeight": 1,
"label": {
"show": true,
"position": "top",
"margin": 8,
"formatter": function(data){return data.name + ' ' + data.value[2];}
},
"emphasis": {},
"data": [
{
"name": "\u9ed1\u9f99\u6c5f",
"value": [
127.9688,
45.368,
971
]
},
{
"name": "\u5185\u8499\u53e4",
"value": [
110.3467,
41.4899,
366
]
},
{
"name": "\u5409\u6797",
"value": [
125.8154,
44.2584,
157
]
},
{
"name": "\u8fbd\u5b81",
"value": [
123.1238,
42.1216,
387
]
},
{
"name": "\u6cb3\u5317",
"value": [
114.4995,
38.1006,
598
]
},
{
"name": "\u5929\u6d25",
"value": [
117.4219,
39.4189,
320
]
},
{
"name": "\u5c71\u897f",
"value": [
112.3352,
37.9413,
226
]
},
{
"name": "\u9655\u897f",
"value": [
109.1162,
34.2004,
522
]
},
{
"name": "\u7518\u8083",
"value": [
103.5901,
36.3043,
182
]
},
{
"name": "\u5b81\u590f",
"value": [
106.3586,
38.1775,
75
]
},
{
"name": "\u9752\u6d77",
"value": [
101.4038,
36.8207,
18
]
},
{
"name": "\u65b0\u7586",
"value": [
87.9236,
43.5883,
980
]
},
{
"name": "\u897f\u85cf",
"value": [
91.11,
29.97,
1
]
},
{
"name": "\u56db\u5ddd",
"value": [
103.9526,
30.7617,
857
]
},
{
"name": "\u91cd\u5e86",
"value": [
108.384366,
30.439702,
590
]
},
{
"name": "\u5c71\u4e1c",
"value": [
117.1582,
36.8701,
864
]
},
{
"name": "\u6cb3\u5357",
"value": [
113.4668,
34.6234,
1301
]
},
{
"name": "\u6c5f\u82cf",
"value": [
118.8062,
31.9208,
687
]
},
{
"name": "\u5b89\u5fbd",
"value": [
117.29,
32.0581,
993
]
},
{
"name": "\u6e56\u5317",
"value": [
114.3896,
30.6628,
68149
]
},
{
"name": "\u6d59\u6c5f",
"value": [
119.5313,
29.8773,
1308
]
},
{
"name": "\u798f\u5efa",
"value": [
119.4543,
25.9222,
526
]
},
{
"name": "\u6c5f\u897f",
"value": [
116.0046,
28.6633,
935
]
},
{
"name": "\u6e56\u5357",
"value": [
113.0823,
28.2568,
1022
]
},
{
"name": "\u8d35\u5dde",
"value": [
106.6992,
26.7682,
147
]
},
{
"name": "\u5e7f\u897f",
"value": [
108.479,
23.1152,
264
]
},
{
"name": "\u6d77\u5357",
"value": [
110.3893,
19.8516,
171
]
},
{
"name": "\u4e0a\u6d77",
"value": [
121.4648,
31.2891,
1562
]
}
],
"shading": "realistic",
"zlevel": -10,
"silent": false,
"animation": true,
"animationDurationUpdate": 100,
"animationEasingUpdate": "cubicOut"
}
],
"legend": [
{
"data": [
"bar3D"
],
"selected": {
"bar3D": 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,
"textStyle": {
"fontSize": 14
},
"borderWidth": 0,
"padding": 5
},
"geo3D": {
"map": "china",
"boxWidth": 100,
"boxHeight": 10,
"regionHeight": 3,
"groundPlane": {
"show": false,
"color": "#aaa"
},
"instancing": false,
"itemStyle": {
"color": "rgb(219,204,249)",
"borderColor": "rgb(0,0,0)",
"borderWidth": 0.8,
"opacity": 1
},
"label": {
"show": false,
"formatter": function(data){return data.name + + data.value[2];},
"textStyle": {
"color": "#fff",
"fontSize": 200,
"backgroundColor": "rgba(0,0,0,0)"
}
},
"emphasis": {
"label": {
"show": false,
"position": "top",
"color": "#fff",
"margin": 8,
"fontSize": 20,
"backgroundColor": "rgba(0,23,11,0)"
}
},
"light": {
"main": {
"color": "#fff",
"intensity": 1.2,
"shadow": false,
"shadowQuality": "high",
"alpha": 40,
"beta": 10
},
"ambient": {
"color": "#fff",
"intensity": 0.3
},
"ambientCubemap": {
"diffuseIntensity": 0.5,
"specularIntensity": 0.5
}
},
"temporalSuperSampling": {
"enable": "auto"
},
"zlevel": -10,
"left": "auto",
"top": "auto",
"right": "auto",
"bottom": "auto",
"width": "auto",
"height": "auto"
},
"title": [
{
"text": "\u4e2d\u56fd\u611f\u67d3\u4eba\u6570\u5206\u5e03",
"padding": 5,
"itemGap": 10
}
]
};
chart_1ffab681caf34e109bd98860e30b343d.setOption(option_1ffab681caf34e109bd98860e30b343d);
</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

搜索帮助