Skip to content

Latest commit

 

History

History
72 lines (54 loc) · 2.68 KB

README.md

File metadata and controls

72 lines (54 loc) · 2.68 KB

stats visualiser

Visualize your codewars training streaks and detailed statistics on each programming language you have trained on.

Features

View online interactive version

View your activity

heatmap

timeseries

View your training stats

sampleheatmap2

samplepie1

samplebarchart

samplepie2

Usage

Clone project:

git clone git@github.com:creme332/codewars-stats-visualiser.git

Install dependencies:

pip install -r requirements.txt

Run program with your username as parameter:

python src/main.py --username YOUR_USERNAME

Open output/index.html to view results. You should expect to wait at most 2 mins for your results to come in.

All data collected from your profile are saved to the data/user-data folder and all charts generated are saved to the output/charts folder.

Katas in beta have no rank and have been omitted during data analysis.

Future work

  • convert into a web service
  • add python linter
  • add tests
  • store katalibrary in Firestore
  • use github actions to periodically update katalibrary

Features

  • Add option to compare different users on the same charts
  • Add an interactive calendar heatmap with option to toggle years. (similar to Leetcode's heatmap)
  • Add more visuals : chord diagram, bar chart, bubble chart
  • Login to extract solution votes, ...
  • Authored kata stats

Data collection

  • Extract streaks data (most in a single day, most in a single week, most consecutive days)
  • Extract first and last completed date for each language
  • Extract total honor for each language
  • Authored katas
  • Visualise completed kata vs language

Performance

  • In main.py optimise get_language_rank_df() by using panda functions.