代码拉取完成,页面将自动刷新
<!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/maps/china.js"></script>
</head>
<body>
<div id="ecdee75fb5874d30a361b2407ecd4e57" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_ecdee75fb5874d30a361b2407ecd4e57 = echarts.init(
document.getElementById('ecdee75fb5874d30a361b2407ecd4e57'), 'white', {renderer: 'canvas'});
var option_ecdee75fb5874d30a361b2407ecd4e57 = {
"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": "scatter",
"name": "geo",
"coordinateSystem": "geo",
"symbolSize": 12,
"data": [
{
"name": "\u5e7f\u4e1c",
"value": [
113.26653,
23.132191,
25
]
},
{
"name": "\u5317\u4eac",
"value": [
116.407526,
39.90403,
112
]
},
{
"name": "\u4e0a\u6d77",
"value": [
121.473701,
31.230416,
67
]
},
{
"name": "\u6c5f\u897f",
"value": [
115.909228,
28.675696,
52
]
},
{
"name": "\u6e56\u5357",
"value": [
112.98381,
28.112444,
74
]
},
{
"name": "\u6d59\u6c5f",
"value": [
120.152791,
30.267446,
102
]
},
{
"name": "\u6c5f\u82cf",
"value": [
118.763232,
32.061707,
68
]
}
],
"label": {
"show": false,
"position": "top",
"margin": 8
},
"rippleEffect": {
"show": true,
"brushType": "stroke",
"scale": 2.5,
"period": 4
}
}
],
"legend": [
{
"data": [
"geo"
],
"selected": {
"geo": true
},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14
}
],
"tooltip": {
"show": true,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"formatter": function (params) { return params.name + ' : ' + params.value[2]; },
"textStyle": {
"fontSize": 14
},
"borderWidth": 0
},
"title": [
{
"text": "Pyechart-\u57fa\u672c\u793a\u4f8b",
"padding": 5,
"itemGap": 10
}
],
"visualMap": {
"show": true,
"type": "piecewise",
"min": 0,
"max": 100,
"inRange": {
"color": [
"#50a3ba",
"#eac763",
"#d94e5d"
]
},
"calculable": true,
"inverse": false,
"splitNumber": 5,
"orient": "vertical",
"showLabel": true,
"itemWidth": 20,
"itemHeight": 14,
"borderWidth": 0
},
"geo": {
"map": "china",
"roam": true,
"emphasis": {}
}
};
chart_ecdee75fb5874d30a361b2407ecd4e57.setOption(option_ecdee75fb5874d30a361b2407ecd4e57);
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。