Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson24-diy3
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
2388f0b6
authored
Oct 01, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
a6b1e631
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1290 additions
and
372 deletions
1.htlm
1.html
123.py
5.py
bar3d_punch_card.html
my_analysis.py
1.htlm
View file @
2388f0b6
<!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>
</head>
<body>
<div
id=
"77d1a7a8bb554e8c8cf49ec0c082ee35"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
var
chart_77d1a7a8bb554e8c8cf49ec0c082ee35
=
echarts
.
init
(
document
.
getElementById
(
'77d1a7a8bb554e8c8cf49ec0c082ee35'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_77d1a7a8bb554e8c8cf49ec0c082ee35
=
{
"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"
:
"line"
,
"name"
:
"\u806a\u806a"
,
"connectNulls"
:
false
,
"symbolSize"
:
4
,
"showSymbol"
:
true
,
"smooth"
:
false
,
"clip"
:
true
,
"step"
:
false
,
"data"
:
[
[
"\u7b2c1\u6b21"
,
112
],
[
"\u7b2c2\u6b21"
,
110
],
[
"\u7b2c3\u6b21"
,
118
],
[
"\u7b2c4\u6b21"
,
124
],
[
"\u7b2c5\u6b21"
,
129
],
[
"\u7b2c6\u6b21"
,
132
],
[
"\u7b2c7\u6b21"
,
136
],
[
"\u7b2c8\u6b21"
,
139
],
[
"\u7b2c9\u6b21"
,
144
],
[
"\u7b2c10\u6b21"
,
143
]
],
"hoverAnimation"
:
true
,
"label"
:
{
"show"
:
true
,
"position"
:
"top"
,
"margin"
:
8
},
"lineStyle"
:
{
"show"
:
true
,
"width"
:
1
,
"opacity"
:
1
,
"curveness"
:
0
,
"type"
:
"solid"
},
"areaStyle"
:
{
"opacity"
:
0
},
"zlevel"
:
0
,
"z"
:
0
},
{
"type"
:
"line"
,
"name"
:
"\u5c0f\u6770"
,
"connectNulls"
:
false
,
"symbolSize"
:
4
,
"showSymbol"
:
true
,
"smooth"
:
false
,
"clip"
:
true
,
"step"
:
false
,
"data"
:
[
[
"\u7b2c1\u6b21"
,
128
],
[
"\u7b2c2\u6b21"
,
131
],
[
"\u7b2c3\u6b21"
,
132
],
[
"\u7b2c4\u6b21"
,
129
],
[
"\u7b2c5\u6b21"
,
130
],
[
"\u7b2c6\u6b21"
,
127
],
[
"\u7b2c7\u6b21"
,
129
],
[
"\u7b2c8\u6b21"
,
131
],
[
"\u7b2c9\u6b21"
,
132
],
[
"\u7b2c10\u6b21"
,
128
]
],
"hoverAnimation"
:
true
,
"label"
:
{
"show"
:
true
,
"position"
:
"top"
,
"margin"
:
8
},
"lineStyle"
:
{
"show"
:
true
,
"width"
:
1
,
"opacity"
:
1
,
"curveness"
:
0
,
"type"
:
"solid"
},
"areaStyle"
:
{
"opacity"
:
0
},
"zlevel"
:
0
,
"z"
:
0
},
{
"type"
:
"line"
,
"name"
:
"\u76ae\u76ae"
,
"connectNulls"
:
false
,
"symbolSize"
:
4
,
"showSymbol"
:
true
,
"smooth"
:
false
,
"clip"
:
true
,
"step"
:
false
,
"data"
:
[
[
"\u7b2c1\u6b21"
,
143
],
[
"\u7b2c2\u6b21"
,
145
],
[
"\u7b2c3\u6b21"
,
140
],
[
"\u7b2c4\u6b21"
,
133
],
[
"\u7b2c5\u6b21"
,
134
],
[
"\u7b2c6\u6b21"
,
126
],
[
"\u7b2c7\u6b21"
,
121
],
[
"\u7b2c8\u6b21"
,
120
],
[
"\u7b2c9\u6b21"
,
114
],
[
"\u7b2c10\u6b21"
,
105
]
],
"hoverAnimation"
:
true
,
"label"
:
{
"show"
:
true
,
"position"
:
"top"
,
"margin"
:
8
},
"lineStyle"
:
{
"show"
:
true
,
"width"
:
1
,
"opacity"
:
1
,
"curveness"
:
0
,
"type"
:
"solid"
},
"areaStyle"
:
{
"opacity"
:
0
},
"zlevel"
:
0
,
"z"
:
0
}
],
"legend"
:
[
{
"data"
:
[
"\u806a\u806a"
,
"\u5c0f\u6770"
,
"\u76ae\u76ae"
],
"selected"
:
{
"\u806a\u806a"
:
true
,
"\u5c0f\u6770"
:
true
,
"\u76ae\u76ae"
:
true
}
}
],
"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
},
"xAxis"
:
[
{
"show"
:
true
,
"scale"
:
false
,
"nameLocation"
:
"end"
,
"nameGap"
:
15
,
"gridIndex"
:
0
,
"inverse"
:
false
,
"offset"
:
0
,
"splitNumber"
:
5
,
"minInterval"
:
0
,
"splitLine"
:
{
"show"
:
false
,
"lineStyle"
:
{
"show"
:
true
,
"width"
:
1
,
"opacity"
:
1
,
"curveness"
:
0
,
"type"
:
"solid"
}
},
"data"
:
[
"\u7b2c1\u6b21"
,
"\u7b2c2\u6b21"
,
"\u7b2c3\u6b21"
,
"\u7b2c4\u6b21"
,
"\u7b2c5\u6b21"
,
"\u7b2c6\u6b21"
,
"\u7b2c7\u6b21"
,
"\u7b2c8\u6b21"
,
"\u7b2c9\u6b21"
,
"\u7b2c10\u6b21"
]
}
],
"yAxis"
:
[
{
"show"
:
true
,
"scale"
:
false
,
"nameLocation"
:
"end"
,
"nameGap"
:
15
,
"gridIndex"
:
0
,
"inverse"
:
false
,
"offset"
:
0
,
"splitNumber"
:
5
,
"minInterval"
:
0
,
"splitLine"
:
{
"show"
:
false
,
"lineStyle"
:
{
"show"
:
true
,
"width"
:
1
,
"opacity"
:
1
,
"curveness"
:
0
,
"type"
:
"solid"
}
}
}
]
};
chart_77d1a7a8bb554e8c8cf49ec0c082ee35
.
setOption
(
option_77d1a7a8bb554e8c8cf49ec0c082ee35
);
</script>
</body>
</html>
1.html
View file @
2388f0b6
...
...
@@ -7,11 +7,11 @@
</head>
<body>
<div
id=
"
2810fce199a24da99a8c1e2dbbdbf402
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"
bfe3b5d812fc44159080dd90591a0533
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
var
chart_
2810fce199a24da99a8c1e2dbbdbf402
=
echarts
.
init
(
document
.
getElementById
(
'
2810fce199a24da99a8c1e2dbbdbf402
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
2810fce199a24da99a8c1e2dbbdbf402
=
{
var
chart_
bfe3b5d812fc44159080dd90591a0533
=
echarts
.
init
(
document
.
getElementById
(
'
bfe3b5d812fc44159080dd90591a0533
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
bfe3b5d812fc44159080dd90591a0533
=
{
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
...
...
@@ -348,7 +348,7 @@
}
]
};
chart_
2810fce199a24da99a8c1e2dbbdbf402
.
setOption
(
option_2810fce199a24da99a8c1e2dbbdbf402
);
chart_
bfe3b5d812fc44159080dd90591a0533
.
setOption
(
option_bfe3b5d812fc44159080dd90591a0533
);
</script>
</body>
</html>
123.py
0 → 100644
View file @
2388f0b6
for
i
in
range
(
1
,
10
):
for
j
in
range
(
1
,
i
+
1
):
print
(
j
,
"*"
,
i
,
"="
,(
j
*
i
),
end
=
" "
)
print
()
\ No newline at end of file
5.py
0 → 100644
View file @
2388f0b6
import
turtle
pen
=
turtle
.
Pen
()
distance
=
1
for
i
in
range
(
999999999999999999999999999999999999999999999999999999
):
pen
.
forward
(
distance
)
distance
+=
1
pen
.
right
(
91
)
pen
.
hideturtle
()
pen
.
done
()
bar3d_punch_card.html
0 → 100644
View file @
2388f0b6
<!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/echarts-gl.min.js"
></script>
</head>
<body>
<div
id=
"1b0da26ba8d945559bf08f26f219e558"
class=
"chart-container"
style=
"width:1600px; height:800px;"
></div>
<script>
var
chart_1b0da26ba8d945559bf08f26f219e558
=
echarts
.
init
(
document
.
getElementById
(
'1b0da26ba8d945559bf08f26f219e558'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_1b0da26ba8d945559bf08f26f219e558
=
{
"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"
:
"bar3D"
,
"data"
:
[
[
0
,
0
,
5
],
[
1
,
0
,
1
],
[
2
,
0
,
0
],
[
3
,
0
,
0
],
[
4
,
0
,
0
],
[
5
,
0
,
0
],
[
6
,
0
,
0
],
[
7
,
0
,
0
],
[
8
,
0
,
0
],
[
9
,
0
,
0
],
[
10
,
0
,
0
],
[
11
,
0
,
2
],
[
12
,
0
,
4
],
[
13
,
0
,
1
],
[
14
,
0
,
1
],
[
15
,
0
,
3
],
[
16
,
0
,
4
],
[
17
,
0
,
6
],
[
18
,
0
,
4
],
[
19
,
0
,
4
],
[
20
,
0
,
3
],
[
21
,
0
,
3
],
[
22
,
0
,
2
],
[
23
,
0
,
5
],
[
0
,
1
,
7
],
[
1
,
1
,
0
],
[
2
,
1
,
0
],
[
3
,
1
,
0
],
[
4
,
1
,
0
],
[
5
,
1
,
0
],
[
6
,
1
,
0
],
[
7
,
1
,
0
],
[
8
,
1
,
0
],
[
9
,
1
,
0
],
[
10
,
1
,
5
],
[
11
,
1
,
2
],
[
12
,
1
,
2
],
[
13
,
1
,
6
],
[
14
,
1
,
9
],
[
15
,
1
,
11
],
[
16
,
1
,
6
],
[
17
,
1
,
7
],
[
18
,
1
,
8
],
[
19
,
1
,
12
],
[
20
,
1
,
5
],
[
21
,
1
,
5
],
[
22
,
1
,
7
],
[
23
,
1
,
2
],
[
0
,
2
,
1
],
[
1
,
2
,
1
],
[
2
,
2
,
0
],
[
3
,
2
,
0
],
[
4
,
2
,
0
],
[
5
,
2
,
0
],
[
6
,
2
,
0
],
[
7
,
2
,
0
],
[
8
,
2
,
0
],
[
9
,
2
,
0
],
[
10
,
2
,
3
],
[
11
,
2
,
2
],
[
12
,
2
,
1
],
[
13
,
2
,
9
],
[
14
,
2
,
8
],
[
15
,
2
,
10
],
[
16
,
2
,
6
],
[
17
,
2
,
5
],
[
18
,
2
,
5
],
[
19
,
2
,
5
],
[
20
,
2
,
7
],
[
21
,
2
,
4
],
[
22
,
2
,
2
],
[
23
,
2
,
4
],
[
0
,
3
,
7
],
[
1
,
3
,
3
],
[
2
,
3
,
0
],
[
3
,
3
,
0
],
[
4
,
3
,
0
],
[
5
,
3
,
0
],
[
6
,
3
,
0
],
[
7
,
3
,
0
],
[
8
,
3
,
1
],
[
9
,
3
,
0
],
[
10
,
3
,
5
],
[
11
,
3
,
4
],
[
12
,
3
,
7
],
[
13
,
3
,
14
],
[
14
,
3
,
13
],
[
15
,
3
,
12
],
[
16
,
3
,
9
],
[
17
,
3
,
5
],
[
18
,
3
,
5
],
[
19
,
3
,
10
],
[
20
,
3
,
6
],
[
21
,
3
,
4
],
[
22
,
3
,
4
],
[
23
,
3
,
1
],
[
0
,
4
,
1
],
[
1
,
4
,
3
],
[
2
,
4
,
0
],
[
3
,
4
,
0
],
[
4
,
4
,
0
],
[
5
,
4
,
1
],
[
6
,
4
,
0
],
[
7
,
4
,
0
],
[
8
,
4
,
0
],
[
9
,
4
,
2
],
[
10
,
4
,
4
],
[
11
,
4
,
4
],
[
12
,
4
,
2
],
[
13
,
4
,
4
],
[
14
,
4
,
4
],
[
15
,
4
,
14
],
[
16
,
4
,
12
],
[
17
,
4
,
1
],
[
18
,
4
,
8
],
[
19
,
4
,
5
],
[
20
,
4
,
3
],
[
21
,
4
,
7
],
[
22
,
4
,
3
],
[
23
,
4
,
0
],
[
0
,
5
,
2
],
[
1
,
5
,
1
],
[
2
,
5
,
0
],
[
3
,
5
,
3
],
[
4
,
5
,
0
],
[
5
,
5
,
0
],
[
6
,
5
,
0
],
[
7
,
5
,
0
],
[
8
,
5
,
2
],
[
9
,
5
,
0
],
[
10
,
5
,
4
],
[
11
,
5
,
1
],
[
12
,
5
,
5
],
[
13
,
5
,
10
],
[
14
,
5
,
5
],
[
15
,
5
,
7
],
[
16
,
5
,
11
],
[
17
,
5
,
6
],
[
18
,
5
,
0
],
[
19
,
5
,
5
],
[
20
,
5
,
3
],
[
21
,
5
,
4
],
[
22
,
5
,
2
],
[
23
,
5
,
0
],
[
0
,
6
,
1
],
[
1
,
6
,
0
],
[
2
,
6
,
0
],
[
3
,
6
,
0
],
[
4
,
6
,
0
],
[
5
,
6
,
0
],
[
6
,
6
,
0
],
[
7
,
6
,
0
],
[
8
,
6
,
0
],
[
9
,
6
,
0
],
[
10
,
6
,
1
],
[
11
,
6
,
0
],
[
12
,
6
,
2
],
[
13
,
6
,
1
],
[
14
,
6
,
3
],
[
15
,
6
,
4
],
[
16
,
6
,
0
],
[
17
,
6
,
0
],
[
18
,
6
,
0
],
[
19
,
6
,
0
],
[
20
,
6
,
1
],
[
21
,
6
,
2
],
[
22
,
6
,
2
],
[
23
,
6
,
6
]
],
"label"
:
{
"show"
:
false
,
"position"
:
"top"
,
"margin"
:
8
}
}
],
"legend"
:
[
{
"data"
:
[
""
],
"selected"
:
{},
"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
},
"visualMap"
:
{
"show"
:
true
,
"type"
:
"continuous"
,
"min"
:
0
,
"max"
:
20
,
"inRange"
:
{
"color"
:
[
"#313695"
,
"#4575b4"
,
"#74add1"
,
"#abd9e9"
,
"#e0f3f8"
,
"#ffffbf"
,
"#fee090"
,
"#fdae61"
,
"#f46d43"
,
"#d73027"
,
"#a50026"
]
},
"calculable"
:
true
,
"inverse"
:
false
,
"splitNumber"
:
5
,
"orient"
:
"vertical"
,
"showLabel"
:
true
,
"itemWidth"
:
20
,
"itemHeight"
:
140
,
"borderWidth"
:
0
},
"xAxis3D"
:
{
"data"
:
[
"12a"
,
"1a"
,
"2a"
,
"3a"
,
"4a"
,
"5a"
,
"6a"
,
"7a"
,
"8a"
,
"9a"
,
"10a"
,
"11a"
,
"12p"
,
"1p"
,
"2p"
,
"3p"
,
"4p"
,
"5p"
,
"6p"
,
"7p"
,
"8p"
,
"9p"
,
"10p"
,
"11p"
],
"nameGap"
:
20
,
"type"
:
"category"
,
"axisLabel"
:
{
"margin"
:
8
}
},
"yAxis3D"
:
{
"data"
:
[
"Saturday"
,
"Friday"
,
"Thursday"
,
"Wednesday"
,
"Tuesday"
,
"Monday"
,
"Sunday"
],
"nameGap"
:
20
,
"type"
:
"category"
,
"axisLabel"
:
{
"margin"
:
8
}
},
"zAxis3D"
:
{
"nameGap"
:
20
,
"type"
:
"value"
,
"axisLabel"
:
{
"margin"
:
8
}
},
"grid3D"
:
{
"boxWidth"
:
200
,
"boxHeight"
:
100
,
"boxDepth"
:
80
,
"viewControl"
:
{
"autoRotate"
:
false
,
"autoRotateSpeed"
:
10
,
"rotateSensitivity"
:
1
}
},
"title"
:
[
{
"padding"
:
5
,
"itemGap"
:
10
}
]
};
chart_1b0da26ba8d945559bf08f26f219e558
.
setOption
(
option_1b0da26ba8d945559bf08f26f219e558
);
</script>
</body>
</html>
my_analysis.py
View file @
2388f0b6
from
pyecharts.charts
import
Line
test
=
[
"第1次"
,
"第2次"
,
"第3次"
,
"第4次"
,
"第5次"
,
"第6次"
,
"第7次"
,
"第8次"
,
"第9次"
,
"第10次"
]
student1
=
[
112
,
110
,
118
,
124
,
129
,
132
,
136
,
139
,
144
,
143
]
# 聪聪
student2
=
[
128
,
131
,
132
,
129
,
130
,
127
,
129
,
131
,
132
,
128
]
# 小杰
student3
=
[
143
,
145
,
140
,
133
,
134
,
126
,
121
,
120
,
114
,
105
]
# 皮皮
line
=
Line
()
line
.
add_xaxis
(
test
)
line
.
add_yaxis
(
"聪聪"
,
student1
)
line
.
add_yaxis
(
"小杰"
,
student2
)
line
.
add_yaxis
(
"皮皮"
,
student3
)
line
.
render
(
"1.html"
)
\ No newline at end of file
import
pyecharts.options
as
opts
from
pyecharts.charts
import
Bar3D
hours
=
[
"12a"
,
"1a"
,
"2a"
,
"3a"
,
"4a"
,
"5a"
,
"6a"
,
"7a"
,
"8a"
,
"9a"
,
"10a"
,
"11a"
,
"12p"
,
"1p"
,
"2p"
,
"3p"
,
"4p"
,
"5p"
,
"6p"
,
"7p"
,
"8p"
,
"9p"
,
"10p"
,
"11p"
,
]
days
=
[
"Saturday"
,
"Friday"
,
"Thursday"
,
"Wednesday"
,
"Tuesday"
,
"Monday"
,
"Sunday"
]
data
=
[
[
0
,
0
,
5
],
[
0
,
1
,
1
],
[
0
,
2
,
0
],
[
0
,
3
,
0
],
[
0
,
4
,
0
],
[
0
,
5
,
0
],
[
0
,
6
,
0
],
[
0
,
7
,
0
],
[
0
,
8
,
0
],
[
0
,
9
,
0
],
[
0
,
10
,
0
],
[
0
,
11
,
2
],
[
0
,
12
,
4
],
[
0
,
13
,
1
],
[
0
,
14
,
1
],
[
0
,
15
,
3
],
[
0
,
16
,
4
],
[
0
,
17
,
6
],
[
0
,
18
,
4
],
[
0
,
19
,
4
],
[
0
,
20
,
3
],
[
0
,
21
,
3
],
[
0
,
22
,
2
],
[
0
,
23
,
5
],
[
1
,
0
,
7
],
[
1
,
1
,
0
],
[
1
,
2
,
0
],
[
1
,
3
,
0
],
[
1
,
4
,
0
],
[
1
,
5
,
0
],
[
1
,
6
,
0
],
[
1
,
7
,
0
],
[
1
,
8
,
0
],
[
1
,
9
,
0
],
[
1
,
10
,
5
],
[
1
,
11
,
2
],
[
1
,
12
,
2
],
[
1
,
13
,
6
],
[
1
,
14
,
9
],
[
1
,
15
,
11
],
[
1
,
16
,
6
],
[
1
,
17
,
7
],
[
1
,
18
,
8
],
[
1
,
19
,
12
],
[
1
,
20
,
5
],
[
1
,
21
,
5
],
[
1
,
22
,
7
],
[
1
,
23
,
2
],
[
2
,
0
,
1
],
[
2
,
1
,
1
],
[
2
,
2
,
0
],
[
2
,
3
,
0
],
[
2
,
4
,
0
],
[
2
,
5
,
0
],
[
2
,
6
,
0
],
[
2
,
7
,
0
],
[
2
,
8
,
0
],
[
2
,
9
,
0
],
[
2
,
10
,
3
],
[
2
,
11
,
2
],
[
2
,
12
,
1
],
[
2
,
13
,
9
],
[
2
,
14
,
8
],
[
2
,
15
,
10
],
[
2
,
16
,
6
],
[
2
,
17
,
5
],
[
2
,
18
,
5
],
[
2
,
19
,
5
],
[
2
,
20
,
7
],
[
2
,
21
,
4
],
[
2
,
22
,
2
],
[
2
,
23
,
4
],
[
3
,
0
,
7
],
[
3
,
1
,
3
],
[
3
,
2
,
0
],
[
3
,
3
,
0
],
[
3
,
4
,
0
],
[
3
,
5
,
0
],
[
3
,
6
,
0
],
[
3
,
7
,
0
],
[
3
,
8
,
1
],
[
3
,
9
,
0
],
[
3
,
10
,
5
],
[
3
,
11
,
4
],
[
3
,
12
,
7
],
[
3
,
13
,
14
],
[
3
,
14
,
13
],
[
3
,
15
,
12
],
[
3
,
16
,
9
],
[
3
,
17
,
5
],
[
3
,
18
,
5
],
[
3
,
19
,
10
],
[
3
,
20
,
6
],
[
3
,
21
,
4
],
[
3
,
22
,
4
],
[
3
,
23
,
1
],
[
4
,
0
,
1
],
[
4
,
1
,
3
],
[
4
,
2
,
0
],
[
4
,
3
,
0
],
[
4
,
4
,
0
],
[
4
,
5
,
1
],
[
4
,
6
,
0
],
[
4
,
7
,
0
],
[
4
,
8
,
0
],
[
4
,
9
,
2
],
[
4
,
10
,
4
],
[
4
,
11
,
4
],
[
4
,
12
,
2
],
[
4
,
13
,
4
],
[
4
,
14
,
4
],
[
4
,
15
,
14
],
[
4
,
16
,
12
],
[
4
,
17
,
1
],
[
4
,
18
,
8
],
[
4
,
19
,
5
],
[
4
,
20
,
3
],
[
4
,
21
,
7
],
[
4
,
22
,
3
],
[
4
,
23
,
0
],
[
5
,
0
,
2
],
[
5
,
1
,
1
],
[
5
,
2
,
0
],
[
5
,
3
,
3
],
[
5
,
4
,
0
],
[
5
,
5
,
0
],
[
5
,
6
,
0
],
[
5
,
7
,
0
],
[
5
,
8
,
2
],
[
5
,
9
,
0
],
[
5
,
10
,
4
],
[
5
,
11
,
1
],
[
5
,
12
,
5
],
[
5
,
13
,
10
],
[
5
,
14
,
5
],
[
5
,
15
,
7
],
[
5
,
16
,
11
],
[
5
,
17
,
6
],
[
5
,
18
,
0
],
[
5
,
19
,
5
],
[
5
,
20
,
3
],
[
5
,
21
,
4
],
[
5
,
22
,
2
],
[
5
,
23
,
0
],
[
6
,
0
,
1
],
[
6
,
1
,
0
],
[
6
,
2
,
0
],
[
6
,
3
,
0
],
[
6
,
4
,
0
],
[
6
,
5
,
0
],
[
6
,
6
,
0
],
[
6
,
7
,
0
],
[
6
,
8
,
0
],
[
6
,
9
,
0
],
[
6
,
10
,
1
],
[
6
,
11
,
0
],
[
6
,
12
,
2
],
[
6
,
13
,
1
],
[
6
,
14
,
3
],
[
6
,
15
,
4
],
[
6
,
16
,
0
],
[
6
,
17
,
0
],
[
6
,
18
,
0
],
[
6
,
19
,
0
],
[
6
,
20
,
1
],
[
6
,
21
,
2
],
[
6
,
22
,
2
],
[
6
,
23
,
6
],
]
data
=
[[
d
[
1
],
d
[
0
],
d
[
2
]]
for
d
in
data
]
(
Bar3D
(
init_opts
=
opts
.
InitOpts
(
width
=
"1600px"
,
height
=
"800px"
))
.
add
(
series_name
=
""
,
data
=
data
,
xaxis3d_opts
=
opts
.
Axis3DOpts
(
type_
=
"category"
,
data
=
hours
),
yaxis3d_opts
=
opts
.
Axis3DOpts
(
type_
=
"category"
,
data
=
days
),
zaxis3d_opts
=
opts
.
Axis3DOpts
(
type_
=
"value"
),
)
.
set_global_opts
(
visualmap_opts
=
opts
.
VisualMapOpts
(
max_
=
20
,
range_color
=
[
"#313695"
,
"#4575b4"
,
"#74add1"
,
"#abd9e9"
,
"#e0f3f8"
,
"#ffffbf"
,
"#fee090"
,
"#fdae61"
,
"#f46d43"
,
"#d73027"
,
"#a50026"
,
],
)
)
.
render
(
"bar3d_punch_card.html"
)
)
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