Python/rfm/客户分类分布.html

613 lines
19 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Awesome-pyecharts</title>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/themes/walden.js"></script>
</head>
<body >
<div id="091c7865f8594b17bc01d20333af9128" class="chart-container" style="width:500px; height:350px; "></div>
<script>
var chart_091c7865f8594b17bc01d20333af9128 = echarts.init(
document.getElementById('091c7865f8594b17bc01d20333af9128'), 'walden', {renderer: 'canvas'});
var option_091c7865f8594b17bc01d20333af9128 = {
"animation": false,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"aria": {
"enabled": false
},
"series": [
{
"type": "scatter",
"name": "\u4e00\u822c\u7ef4\u6301\u5ba2\u6237",
"symbolSize": 10,
"data": [
{
"name": 3003.74,
"value": [
564.64,
18.43
],
"symbolSize": 32.63309719719160003383614417,
"symbolKeepAspect": false,
"label": {
"show": true,
"position": "right",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"formatter": "{a|{a}}\n{b|{b}}",
"rich": {
"a": {
"fontWeight": "bold"
},
"b": {
"lineHeight": 25
}
},
"valueAnimation": false
}
}
],
"label": {
"show": true,
"position": "right",
"margin": 8,
"valueAnimation": false
}
},
{
"type": "scatter",
"name": "\u65b0\u5ba2\u6237",
"symbolSize": 10,
"data": [
{
"name": 1216.97,
"value": [
690.72,
7.48
],
"symbolSize": 22.38607900739663846510074138,
"symbolKeepAspect": false,
"label": {
"show": true,
"position": "right",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"formatter": "{a|{a}}\n{b|{b}}",
"rich": {
"a": {
"fontWeight": "bold"
},
"b": {
"lineHeight": 25
}
},
"valueAnimation": false
}
}
],
"label": {
"show": true,
"position": "right",
"margin": 8,
"valueAnimation": false
}
},
{
"type": "scatter",
"name": "\u6d41\u5931\u5ba2\u6237",
"symbolSize": 10,
"data": [
{
"name": 800.91,
"value": [
467.05,
5.30
],
"symbolSize": 20,
"symbolKeepAspect": false,
"label": {
"show": true,
"position": "right",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"formatter": "{a|{a}}\n{b|{b}}",
"rich": {
"a": {
"fontWeight": "bold"
},
"b": {
"lineHeight": 25
}
},
"valueAnimation": false
}
}
],
"label": {
"show": true,
"position": "right",
"margin": 8,
"valueAnimation": false
}
},
{
"type": "scatter",
"name": "\u6f5c\u529b\u5ba2\u6237",
"symbolSize": 10,
"data": [
{
"name": 2977.77,
"value": [
687.19,
19.88
],
"symbolSize": 32.48416081344384562115848649,
"symbolKeepAspect": false,
"label": {
"show": true,
"position": "right",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"formatter": "{a|{a}}\n{b|{b}}",
"rich": {
"a": {
"fontWeight": "bold"
},
"b": {
"lineHeight": 25
}
},
"valueAnimation": false
}
}
],
"label": {
"show": true,
"position": "right",
"margin": 8,
"valueAnimation": false
}
},
{
"type": "scatter",
"name": "\u91cd\u8981\u4ef7\u503c\u5ba2\u6237",
"symbolSize": 10,
"data": [
{
"name": 7775.70,
"value": [
702.08,
28.24
],
"symbolSize": 60,
"symbolKeepAspect": false,
"label": {
"show": true,
"position": "right",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"formatter": "{a|{a}}\n{b|{b}}",
"rich": {
"a": {
"fontWeight": "bold"
},
"b": {
"lineHeight": 25
}
},
"valueAnimation": false
}
}
],
"label": {
"show": true,
"position": "right",
"margin": 8,
"valueAnimation": false
}
},
{
"type": "scatter",
"name": "\u91cd\u8981\u5524\u56de\u5ba2\u6237",
"symbolSize": 10,
"data": [
{
"name": 7291.27,
"value": [
598.71,
25.16
],
"symbolSize": 57.22182316600213053009481289,
"symbolKeepAspect": false,
"label": {
"show": true,
"position": "right",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"formatter": "{a|{a}}\n{b|{b}}",
"rich": {
"a": {
"fontWeight": "bold"
},
"b": {
"lineHeight": 25
}
},
"valueAnimation": false
}
}
],
"label": {
"show": true,
"position": "right",
"margin": 8,
"valueAnimation": false
}
},
{
"type": "scatter",
"name": "\u91cd\u8981\u633d\u7559\u5ba2\u6237",
"symbolSize": 10,
"data": [
{
"name": 5439.61,
"value": [
503.55,
9.09
],
"symbolSize": 46.60266473972693084666348378,
"symbolKeepAspect": false,
"label": {
"show": true,
"position": "right",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"formatter": "{a|{a}}\n{b|{b}}",
"rich": {
"a": {
"fontWeight": "bold"
},
"b": {
"lineHeight": 25
}
},
"valueAnimation": false
}
}
],
"label": {
"show": true,
"position": "right",
"margin": 8,
"valueAnimation": false
}
},
{
"type": "scatter",
"name": "\u91cd\u8981\u6df1\u8015\u5ba2\u6237",
"symbolSize": 10,
"data": [
{
"name": 5081.89,
"value": [
686.49,
12.03
],
"symbolSize": 44.55116211384142031516361066,
"symbolKeepAspect": false,
"label": {
"show": true,
"position": "right",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"formatter": "{a|{a}}\n{b|{b}}",
"rich": {
"a": {
"fontWeight": "bold"
},
"b": {
"lineHeight": 25
}
},
"valueAnimation": false
}
}
],
"label": {
"show": true,
"position": "right",
"margin": 8,
"valueAnimation": false
}
}
],
"legend": [
{
"data": [
"\u4e00\u822c\u7ef4\u6301\u5ba2\u6237",
"\u65b0\u5ba2\u6237",
"\u6d41\u5931\u5ba2\u6237",
"\u6f5c\u529b\u5ba2\u6237",
"\u91cd\u8981\u4ef7\u503c\u5ba2\u6237",
"\u91cd\u8981\u5524\u56de\u5ba2\u6237",
"\u91cd\u8981\u633d\u7559\u5ba2\u6237",
"\u91cd\u8981\u6df1\u8015\u5ba2\u6237"
],
"selected": {},
"show": false,
"left": "center",
"top": "top",
"orient": "horizontal",
"align": "auto",
"padding": 5,
"itemGap": 10,
"itemWidth": 10,
"itemHeight": 10,
"inactiveColor": "#86909C",
"textStyle": {
"color": "#86909C",
"fontStyle": "normal",
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"fontSize": 12
},
"backgroundColor": "transparent",
"borderColor": "#ccc",
"borderWidth": 0,
"borderRadius": 0,
"pageButtonItemGap": 5,
"pageButtonPosition": "end",
"pageFormatter": "{current}/{total}",
"pageIconColor": "#2f4554",
"pageIconInactiveColor": "#aaa",
"pageIconSize": 15,
"animationDurationUpdate": 800,
"selector": false,
"selectorPosition": "auto",
"selectorItemGap": 7,
"selectorButtonGap": 10
}
],
"tooltip": {
"show": false,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"showContent": true,
"alwaysShowContent": false,
"showDelay": 0,
"hideDelay": 100,
"enterable": false,
"confine": false,
"appendToBody": false,
"transitionDuration": 0.4,
"textStyle": {
"fontSize": 14
},
"borderWidth": 0,
"padding": 5,
"order": "seriesAsc"
},
"xAxis": [
{
"type": "value",
"name": "R",
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"nameTextStyle": {
"color": "#86909C",
"fontStyle": "normal",
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"fontSize": 12
},
"gridIndex": 0,
"axisLine": {
"show": true,
"onZero": true,
"onZeroAxisIndex": 0,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid",
"color": "#86909C"
}
},
"axisTick": {
"show": false,
"alignWithLabel": false,
"inside": true,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid",
"color": "#86909C"
}
},
"axisLabel": {
"show": true,
"position": "inside",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"valueAnimation": false
},
"inverse": false,
"offset": 0,
"splitNumber": 5,
"min": 475,
"max": 750,
"minInterval": 0,
"splitLine": {
"show": false,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "dashed",
"color": "#E5E6EB"
}
},
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"data": [
686.49
]
}
],
"yAxis": [
{
"type": "value",
"name": "F",
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"nameTextStyle": {
"color": "#86909C",
"fontStyle": "normal",
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"fontSize": 12
},
"gridIndex": 0,
"axisLine": {
"show": true,
"onZero": true,
"onZeroAxisIndex": 0,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid",
"color": "#86909C"
}
},
"axisTick": {
"show": false,
"alignWithLabel": false,
"inside": true,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid",
"color": "#86909C"
}
},
"axisLabel": {
"show": true,
"position": "inside",
"color": "#86909C",
"margin": 8,
"fontSize": 12,
"fontWeight": "normal",
"fontFamily": "PingFang SC",
"valueAnimation": false
},
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": false,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "dashed",
"color": "#E5E6EB"
}
},
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0
}
],
"title": [
{
"show": true,
"target": "blank",
"subtarget": "blank",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
]
};
chart_091c7865f8594b17bc01d20333af9128.setOption(option_091c7865f8594b17bc01d20333af9128);
</script>
</body>
</html>