Run getHandles.py
, getInactiveHandles
, getCountries.py
, getData.py
and dataToCsv.py
in order (or run runall.bat
in Windows), then you will get data.csv
in the format which fits Jannchie/Historical-ranking-data-visualization-based-on-d3.js
It gets the rating history of each user who is in the top5000 either of the actives or the inactives now by Codeforces API. So if a user was in the top10 but is in neither the the top5000 of the actives nor the inactives now, he will not be included in the historical top10s.
See the codes for more details. (However, I'm not good at python, so the codes may be a little ugly.)
The video is uploaded here.(Still the old version now. I will upload the corrected version later.)