you can use the website at
https://rnchen.github.io/firstDeployment/
you can also find a similar project at
https://rnchen.github.io/2021-cdc-display/
My last words updated on the April 27th.
So, unfortunately, we even did not pass the first selection. And my passion for this project is shut down even though I know it is wrong. At least according to what I have known, a project, which has won a Nation's rewards, also shows no technical difficulty and any innovation while our project shows more innovation and imagination. Using Echarts and making some adjustment to the style, the project can be done by anyone who knows how to type the keyboard.
I urged the relevant person in charge to find out why we failed even at the first selection. They said we could not show others' projects because they needed to keep the secret. We gained nothing essential or helpful in the reply. They said we chose five and you are the six. Come on. Any details? oh indeed they said we got 81 while is line in the 6 positions. What kind of details is this?
I want a reason why our project failed. You can lie to me that we lack innovation, which is not correct. Or you can say you guys got a provincial reward last year so we give the opportunity to the next generation. You can make up a story.But I gained nothing. And the deadline for the application for the next selection is passed. I can do nothing more but write down this words.
Indeed I feel frustrated but I won't lose my confidence. I learned a lot in the process.
It is the first time that I urged a reward so eagerly, the first time I organized the whole project even it was a naive project, the first time we tried to use git to cooperate with my teammates though we failed, the first time I try to interpret my opinion into a realistic thing, the first time I meet questions and search for solutions though it should be done at the first year in the university and the first time I give all my efforts but gain nothing.
Those valuable experiences may be more important than the certification of the competition. I won't stop my way that we should learn new things from the competition even though the final effect is not as fansinating as those who use the existed templates. Time will tell.
That's all. oh, in addition, I'm sry that you will miss a nation-level reward.
Statement:
If you find any problems no matter if it is the accurancy of data or the descriptions, or just want to give your ideas about the project, please contact us with the following Email
This is the 2022 Computer Design Competition
- we choose the Category 6, item 4, Data visualization
- project name:
The Expectation of the 14th 5-year plan
- School : University of Electronic Science and Technology of China
- Teammates:
- Jeffrey-Chen https://github.com/RNCHEN
- Xuhan https://github.com/AIMYON22
- Eureka https://github.com/Assassin187
you can find the display video with the following link
https://www.bilibili.com/video/BV1u44y1G7yL#reply109645850640
you can use the website at
https://rnchen.github.io/firstDeployment/
you can find the reply video with the following link
https://www.bilibili.com/video/BV15541117cg/
However, because of some reasons, the desktop can use it normally while the loptop need to shrink it to 80% or less
you can start the main code with 0408Beta
->main
->fire.html
you can find the data process revelant code in python
This work is a visual platform for reviewing China's economic data over the years and looking forward to the important economic data of the 14th five year plan
The original intention of creating this work is to facilitate you to more intuitively understand and learn relevant economic data, and stimulate your interest through the visual form of data
Our overall page is divided into four sections: historical exhibition hall
, popular word cloud
, long-term planning
and provincial data
.
more details description can be found in
reply
->答辩
we just display the photo here
we strat with the beginning animation
beginning animation
historical exhibition hall
and we end with a star animation
popular word cloud
long-term planning
provincial data
click the specific province to get the next
and you can contact with us in the project :
when mouse is on the div, we exemplify it and its neighbors. And when the mouse leave, we remove the effect
<div class="step-circle" id="1"
onmouseover="getID(1)"
onmouseout="removeEffect(1)"
onclick="showTxt(1),exCharts(1),exBubble(1)">一五
</div>
function removeEffect(e) {
for (let index = 0; index < step_circle.length; index++) {
let circleCancel = step_circle[index];
circleCancel.classList.remove("step-circle-active", "step-circle-active-more",
"step-circle-active-more-1", "step-circle-active-more-2");
}
}
- Transverse roller
we need to prevent the default settings.
window.onload = function () {
// mouse scroll
var a = document.getElementById("step-container");
var scroll_width = 100; //滚动一下的距离
if (document.addEventListener) {
document.addEventListener('DOMMouseScroll', mousewheel_event, false); // FF
}
a.onmousewheel = mousewheel_event; // IE/Opera/Chrome
function mousewheel_event(e) {
var e = e || window.event, v;
e.wheelDelta ? v = e.wheelDelta : v = e.detail;
if (v > 3 || -v > 3) v = -v;
v > 0 ? a.scrollLeft += scroll_width : a.scrollLeft -= scroll_width;
e.preventDefault(); //阻止浏览器的默认滚动
}
};
- Fire animation
First, we use the PS to select the specific font.
and we set the keyframes
to finish the job
- Echarts
If we want to use the different type of Echarts,
we must use the function echarts.dispose()
to dispose the exited charts in the original position.
if (myChartafter_0) {
echarts.dispose(myChartafter_0);
}
-
Internet worm
We obey the rules, details will be uploaded later
-
data process
we use the
Z-score
data process, details will be uploaded laterprint(z) data={ 'increase':z, 'origin':x, 'after':y }#用字典来存放数据 price_frame=pandas.DataFrame(data)#把字典类型转化为dataframe对象 normalizer=preprocessing.scale(price_frame) #沿着某个轴标准化数据集,以均值为中心,以分量为单位方差 price_frame_normalized=pandas.DataFrame(normalizer,columns=['increase','origin','after'])
-
Chinese Division
we use the
Jieba
, details will be uploaded later
import jieba
content = open('data.txt', 'r', encoding='utf-8').read()
words = jieba.lcut(content)
# print('words' , words)
counts = {}
for word in words:
if len(word) == 1: # 排除单个字的分词结果
continue
else:
counts[word] = counts.get(word, 0) + 1 # dict用法
-
depolyment
First: you need to have
Nodejs
then run the following script in the Terminal
npm install http-server -g
and then =>
http-server -c-1
To simplify the working, we choose
Github Pages
to finish the deploymentYou can create a empty repo without README( at least for me), then =>
choose the master and click the save
wait for a moment and your web is deployed
: )
==ATTENTION:==
-
you must have the
index.html
instead of any other names. -
if the web display the
README
file, you can delete it.
Re statement:
if you find any wrong with data, plz contact us. Any suggestions can be sent to my email
You can see the following photos that we have many similar templates, which are already cool and fascinating. And maybe the existed template is more beautiful than our project.
However, there is an old saying in China, that freshmen see the effect but the experts think the logic.
To be honest, if you ask me to finish the same effect without any Lib, of course I can not, but with the help of Echarts, achieving the following photo is just like building blocks, which means it does not have any tech level. What we need to do is to adjust some data and title and then you can boost to someone who is not familiar with the fond-end.
Though what we want is a reward, after all this is a competition, but what we have learned from the process matters more. The ability outweigh anything. Thinking independently and finishing all codes by yourself, you can improve your comprehensive ability by doing so.
Using the template without your own thinking can not help you in any area
Though the fond-end is easy. But the some logical in JS
and some animations or layouts in CSS
also takes you some time. Some operation in git
also enhance your feeling on database(just my opinion). Python
can be used in web worm and data process, which may stimulate your interest in computer engineering.
All in all, this is a freshman friendly project, because it do not have any data transmition.