Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson24-diy1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7438425d
authored
Nov 27, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
3eab10ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
cdhsvdvhuvhuivgdehhuihiufhfhhbvfhgbfgbhbgfhif.html
my_analysis.py
cdhsvdvhuvhuivgdehhuihiufhfhhbvfhgbfgbhbgfhif.html
View file @
7438425d
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
</head>
</head>
<body>
<body>
<div
id=
"
25269348efd847d8a77a4e91f7406cb1
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"
76c6780c13024595b21893403639346e
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
<script>
var
chart_
25269348efd847d8a77a4e91f7406cb1
=
echarts
.
init
(
var
chart_
76c6780c13024595b21893403639346e
=
echarts
.
init
(
document
.
getElementById
(
'
25269348efd847d8a77a4e91f7406cb1
'
),
'white'
,
{
renderer
:
'canvas'
});
document
.
getElementById
(
'
76c6780c13024595b21893403639346e
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
25269348efd847d8a77a4e91f7406cb1
=
{
var
option_
76c6780c13024595b21893403639346e
=
{
"animation"
:
true
,
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
"animationDuration"
:
1000
,
...
@@ -129,15 +129,15 @@
...
@@ -129,15 +129,15 @@
}
}
},
},
"data"
:
[
"data"
:
[
"\u
8bed\u6587
"
,
"\u
4f59\u6e29
"
,
"\u
6570\u5b66
"
,
"\u
8167\u7a74
"
,
"\u
82f1\u8bed
"
,
"\u
5e94\u4e88
"
,
"\u
5730\u7406
"
,
"\u
7825\u783a
"
,
"\u
5386\u53f2
"
,
"\u
79bb\u4e16
"
,
"\u65
3f
\u6cbb"
,
"\u65
74
\u6cbb"
,
"\u
751f\u7269
"
,
"\u
5723\u6b66
"
,
"\u
5316\u5b66
"
,
"\u
6ed1\u9774
"
,
"\u
7269\u7406
"
"\u
5c4b\u91cc
"
]
]
}
}
],
],
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
}
}
]
]
};
};
chart_
25269348efd847d8a77a4e91f7406cb1
.
setOption
(
option_25269348efd847d8a77a4e91f7406cb1
);
chart_
76c6780c13024595b21893403639346e
.
setOption
(
option_76c6780c13024595b21893403639346e
);
</script>
</script>
</body>
</body>
</html>
</html>
my_analysis.py
View file @
7438425d
from
pyecharts.charts
import
Bar
from
pyecharts.charts
import
Bar
subjects
=
[
"
语文"
,
"数学"
,
"英语"
,
"地理"
,
"历史"
,
"政治"
,
"生物"
,
"化学"
,
"物理
"
]
subjects
=
[
"
余温"
,
"腧穴"
,
"应予"
,
"砥砺"
,
"离世"
,
"整治"
,
"圣武"
,
"滑靴"
,
"屋里
"
]
scores
=
[
88
,
95
,
96
,
94
,
62
,
66
,
64
,
93
,
89
]
scores
=
[
88
,
95
,
96
,
94
,
62
,
66
,
64
,
93
,
89
]
bar
=
Bar
()
bar
=
Bar
()
bar
.
add_xaxis
(
subjects
)
bar
.
add_xaxis
(
subjects
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment