1 Star 1 Fork 8

yangliuqingqing/ant-learn-visualization

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
词云图.html 15.35 KB
一键复制 编辑 原始数据 按行查看 历史
peishuaishuai 提交于 2024-05-11 15:46 . xx
<!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/echarts-wordcloud.min.js"></script>
</head>
<body >
<div id="c357045dcbf04d97825436b47d4b2109" class="chart-container" style="width:900px; height:500px; "></div>
<script>
var chart_c357045dcbf04d97825436b47d4b2109 = echarts.init(
document.getElementById('c357045dcbf04d97825436b47d4b2109'), 'white', {renderer: 'canvas'});
var option_c357045dcbf04d97825436b47d4b2109 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"aria": {
"enabled": false
},
"color": [
"#5470c6",
"#91cc75",
"#fac858",
"#ee6666",
"#73c0de",
"#3ba272",
"#fc8452",
"#9a60b4",
"#ea7ccc"
],
"series": [
{
"type": "wordCloud",
"name": "\u9ad8\u9891\u8bcd\u8bed",
"shape": "circle",
"rotationRange": [
-90,
90
],
"rotationStep": 45,
"girdSize": 20,
"sizeRange": [
10,
50
],
"data": [
{
"name": "\u90ed\u9756",
"value": 0.12406614987375768,
"textStyle": {
"color": "rgb(7,21,45)"
}
},
{
"name": "\u9ec4\u84c9",
"value": 0.08107809133266804,
"textStyle": {
"color": "rgb(99,122,11)"
}
},
{
"name": "\u6d2a\u4e03\u516c",
"value": 0.04578588205013813,
"textStyle": {
"color": "rgb(129,26,0)"
}
},
{
"name": "\u6b27\u9633\u950b",
"value": 0.04504888596079989,
"textStyle": {
"color": "rgb(151,10,56)"
}
},
{
"name": "\u9ec4\u836f\u5e08",
"value": 0.04142381491405629,
"textStyle": {
"color": "rgb(116,79,39)"
}
},
{
"name": "\u751a\u4e48",
"value": 0.03466305753512821,
"textStyle": {
"color": "rgb(106,3,72)"
}
},
{
"name": "\u5468\u4f2f\u901a",
"value": 0.03336783931722504,
"textStyle": {
"color": "rgb(53,80,10)"
}
},
{
"name": "\u6b66\u529f",
"value": 0.025145981206282777,
"textStyle": {
"color": "rgb(87,91,96)"
}
},
{
"name": "\u9ec4\u84c9\u9053",
"value": 0.02427480869257826,
"textStyle": {
"color": "rgb(37,157,52)"
}
},
{
"name": "\u4e18\u5904\u673a",
"value": 0.02422551966124222,
"textStyle": {
"color": "rgb(62,49,129)"
}
},
{
"name": "\u90ed\u9756\u9053",
"value": 0.023537812603240022,
"textStyle": {
"color": "rgb(20,154,9)"
}
},
{
"name": "\u5e08\u7236",
"value": 0.022435410894692275,
"textStyle": {
"color": "rgb(68,1,34)"
}
},
{
"name": "\u6885\u8d85\u98ce",
"value": 0.021280762079641663,
"textStyle": {
"color": "rgb(112,56,20)"
}
},
{
"name": "\u6b27\u9633\u514b",
"value": 0.021050450801723464,
"textStyle": {
"color": "rgb(142,157,57)"
}
},
{
"name": "\u8bf4\u9053",
"value": 0.019791592502254995,
"textStyle": {
"color": "rgb(127,148,6)"
}
},
{
"name": "\u67ef\u9547\u6076",
"value": 0.018378839977872347,
"textStyle": {
"color": "rgb(104,30,3)"
}
},
{
"name": "\u88d8\u5343\u4ede",
"value": 0.01768790614411775,
"textStyle": {
"color": "rgb(99,20,132)"
}
},
{
"name": "\u7239\u7239",
"value": 0.016514737153921474,
"textStyle": {
"color": "rgb(65,154,116)"
}
},
{
"name": "\u529f\u592b",
"value": 0.0158321186453545,
"textStyle": {
"color": "rgb(75,1,37)"
}
},
{
"name": "\u4e24\u4eba",
"value": 0.015501687226510798,
"textStyle": {
"color": "rgb(144,154,132)"
}
},
{
"name": "\u5fc3\u4e2d",
"value": 0.014934863688623115,
"textStyle": {
"color": "rgb(89,15,103)"
}
},
{
"name": "\u5b8c\u989c\u6d2a\u70c8",
"value": 0.014509610508846589,
"textStyle": {
"color": "rgb(141,88,3)"
}
},
{
"name": "\u53ea\u89c1",
"value": 0.01427857030972316,
"textStyle": {
"color": "rgb(52,158,89)"
}
},
{
"name": "\u6768\u5eb7",
"value": 0.01404898795301019,
"textStyle": {
"color": "rgb(21,58,47)"
}
},
{
"name": "\u7a46\u5ff5\u6148",
"value": 0.01386473893067563,
"textStyle": {
"color": "rgb(155,24,160)"
}
},
{
"name": "\u94c1\u6728\u771f",
"value": 0.01381099345239756,
"textStyle": {
"color": "rgb(111,125,89)"
}
},
{
"name": "\u54b1\u4eec",
"value": 0.013725115096530412,
"textStyle": {
"color": "rgb(69,50,29)"
}
},
{
"name": "\u5fc3\u60f3",
"value": 0.013719964709228427,
"textStyle": {
"color": "rgb(43,96,61)"
}
},
{
"name": "\u4e00\u58f0",
"value": 0.013480558228988344,
"textStyle": {
"color": "rgb(41,153,40)"
}
},
{
"name": "\u5b8c\u989c\u5eb7",
"value": 0.01340411637483923,
"textStyle": {
"color": "rgb(85,8,150)"
}
},
{
"name": "\u5f53\u4e0b",
"value": 0.01313530911532934,
"textStyle": {
"color": "rgb(55,96,112)"
}
},
{
"name": "\u81ea\u5df1",
"value": 0.012990726351735912,
"textStyle": {
"color": "rgb(44,9,20)"
}
},
{
"name": "\u4e0d\u77e5",
"value": 0.011597331151213208,
"textStyle": {
"color": "rgb(140,98,35)"
}
},
{
"name": "\u5f6d\u8fde\u864e",
"value": 0.011423439384742712,
"textStyle": {
"color": "rgb(97,38,147)"
}
},
{
"name": "\u9646\u51a0\u82f1",
"value": 0.011285252617991792,
"textStyle": {
"color": "rgb(83,149,34)"
}
},
{
"name": "\u53eb\u5316",
"value": 0.011040354948474001,
"textStyle": {
"color": "rgb(76,135,28)"
}
},
{
"name": "\u4e00\u4e2a",
"value": 0.010845294165171826,
"textStyle": {
"color": "rgb(96,12,117)"
}
},
{
"name": "\u6768\u94c1\u5fc3",
"value": 0.010824630062155392,
"textStyle": {
"color": "rgb(36,47,49)"
}
},
{
"name": "\u6210\u5409\u601d\u6c57",
"value": 0.01067009365275535,
"textStyle": {
"color": "rgb(83,15,115)"
}
},
{
"name": "\u6881\u5b50\u7fc1",
"value": 0.010410069761902632,
"textStyle": {
"color": "rgb(60,84,111)"
}
},
{
"name": "\u516d\u602a",
"value": 0.010317945250735353,
"textStyle": {
"color": "rgb(69,79,120)"
}
},
{
"name": "\u5e2e\u4e3b",
"value": 0.010125880868048625,
"textStyle": {
"color": "rgb(13,24,53)"
}
},
{
"name": "\u6843\u82b1\u5c9b",
"value": 0.010015707788637371,
"textStyle": {
"color": "rgb(129,15,33)"
}
},
{
"name": "\u62d6\u96f7",
"value": 0.010005547582468646,
"textStyle": {
"color": "rgb(82,92,78)"
}
},
{
"name": "\u4e4b\u4e2d",
"value": 0.009913578619883907,
"textStyle": {
"color": "rgb(83,39,24)"
}
},
{
"name": "\u6731\u806a",
"value": 0.009811260439315312,
"textStyle": {
"color": "rgb(144,4,5)"
}
},
{
"name": "\u738b\u5904\u4e00",
"value": 0.009755891830916833,
"textStyle": {
"color": "rgb(134,64,100)"
}
},
{
"name": "\u8eab\u5b50",
"value": 0.009708391387986515,
"textStyle": {
"color": "rgb(107,155,82)"
}
},
{
"name": "\u8fd9\u65f6",
"value": 0.009659890467138228,
"textStyle": {
"color": "rgb(52,141,33)"
}
},
{
"name": "\u5de6\u624b",
"value": 0.009589398734312868,
"textStyle": {
"color": "rgb(80,11,24)"
}
}
],
"drawOutOfBound": false,
"textStyle": {
"emphasis": {}
}
}
],
"legend": [
{
"data": [],
"selected": {},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14,
"backgroundColor": "transparent",
"borderColor": "#ccc",
"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": true,
"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"
},
"title": [
{
"show": true,
"text": "\u5c04\u96d5\u82f1\u96c4\u4f20-\u9ad8\u9891\u8bcd\u4e91\u56fe",
"target": "blank",
"subtarget": "blank",
"left": "center",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false,
"textStyle": {
"fontSize": 23
}
}
]
};
chart_c357045dcbf04d97825436b47d4b2109.setOption(option_c357045dcbf04d97825436b47d4b2109);
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yangliuqingqing/ant-learn-visualization.git
git@gitee.com:yangliuqingqing/ant-learn-visualization.git
yangliuqingqing
ant-learn-visualization
ant-learn-visualization
master

搜索帮助