openbrain/pydata-huang/python数据分析小作业/大学生.html

268 lines
7.0 KiB
HTML

<!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="987825ad9885405a91912b819e3235f0" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_987825ad9885405a91912b819e3235f0 = echarts.init(
document.getElementById('987825ad9885405a91912b819e3235f0'), 'white', {renderer: 'canvas'});
var option_987825ad9885405a91912b819e3235f0 = {
"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": "map",
"name": "ip\u6765\u6e90",
"label": {
"show": true,
"position": "top",
"margin": 8
},
"mapType": "china",
"data": [
{
"name": "mobi",
"value": 1
},
{
"name": "\u5317\u4eac",
"value": 23
},
{
"name": "\u4e2d\u56fd",
"value": 94
},
{
"name": "\u5929\u6d25",
"value": 9
},
{
"name": "\u8d35\u5dde",
"value": 7
},
{
"name": "\u6e56\u5357",
"value": 63
},
{
"name": "\u6d59\u6c5f",
"value": 35
},
{
"name": "\u4e0a\u6d77",
"value": 32
},
{
"name": "\u6cb3\u5317",
"value": 56
},
{
"name": "\u5b89\u5fbd",
"value": 41
},
{
"name": "\u5e7f\u4e1c",
"value": 358
},
{
"name": "\u798f\u5efa",
"value": 34
},
{
"name": "\u5c71\u4e1c",
"value": 62
},
{
"name": "\u6c5f\u82cf",
"value": 30
},
{
"name": "\u56db\u5ddd",
"value": 14
},
{
"name": "\u6c5f\u897f",
"value": 63
},
{
"name": "\u6cb3\u5357",
"value": 42
},
{
"name": "\u5409\u6797",
"value": 17
},
{
"name": "\u5c71\u897f",
"value": 50
},
{
"name": "\u65b0\u7586",
"value": 8
},
{
"name": "\u7518\u8083",
"value": 5
},
{
"name": "\u5e7f\u897f",
"value": 12
},
{
"name": "\u5185\u8499\u53e4",
"value": 8
},
{
"name": "\u9655\u897f",
"value": 9
},
{
"name": "\u9ed1\u9f99",
"value": 7
},
{
"name": "\u8fbd\u5b81",
"value": 14
},
{
"name": "\u6fb3\u95e8",
"value": 12
},
{
"name": "\u6e56\u5317",
"value": 9
},
{
"name": "\u5b81\u590f",
"value": 4
},
{
"name": "\u6d77\u5357",
"value": 357
},
{
"name": "\u4e91\u5357",
"value": 1
},
{
"name": "\u91cd\u5e86",
"value": 2
},
{
"value": 2
}
],
"roam": true,
"aspectScale": 0.75,
"nameProperty": "name",
"selectedMode": false,
"zoom": 1,
"mapValueCalculation": "sum",
"showLegendSymbol": true,
"emphasis": {}
}
],
"legend": [
{
"data": [
"ip\u6765\u6e90"
],
"selected": {
"ip\u6765\u6e90": 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
},
"title": [
{
"text": "\u5927\u5b66\u751fip\u5730\u5740\u6240\u5728\u5730",
"padding": 5,
"itemGap": 10
}
],
"visualMap": {
"show": true,
"type": "continuous",
"min": 0,
"max": 100,
"inRange": {
"color": [
"#50a3ba",
"#eac763",
"#d94e5d"
]
},
"calculable": true,
"inverse": false,
"splitNumber": 5,
"orient": "vertical",
"showLabel": true,
"itemWidth": 20,
"itemHeight": 140,
"borderWidth": 0
}
};
chart_987825ad9885405a91912b819e3235f0.setOption(option_987825ad9885405a91912b819e3235f0);
</script>
</body>
</html>