StevenReitsma / lolcognac-website

League of Legends Championship website.
4 stars 4 forks source link

Add more and improved statistics #19

Closed StevenReitsma closed 8 years ago

StevenReitsma commented 8 years ago

What about the statistics? Maybe we should show 1 decimal for the average kills/deaths/assists.

Sure :)

In terms of extra statistics I was thinking of the following:

jvanvugt commented 8 years ago

As for kills and deaths being the same, there will probably be a few executes during the tournament, which might be an interesting statistic.

StevenReitsma commented 8 years ago

Ah you're right. Didn't happen last tournament by the looks of it. In any case, let's keep reporting both kills and deaths then. If you have any other ideas for cool statistics/graphs feel free to put them here (or implement them :grin:).

jvanvugt commented 8 years ago

I made a pie chart of the study programmes 7c66ced738e027552c2ddf30ce20e0b83a146485. Unfortunately, the built-in Chart class produces extremely ugly charts like Ugly pie chart Even if we get rid of all the duplicate study programmes (caused by capitalisation etc.), the quality is still very poor and there are hardly any customisation options. Maybe we should look for a 3rd party library?

StevenReitsma commented 8 years ago

I bet @gzuidhof has some ideas for third party libraries that look good.

gzuidhof commented 8 years ago

Sure :bowtie:

I would look into clientside (javascript) plotting. They generally look much better, are more customizable and can be interactive. There are plenty of options, these are some viable options:

I would personally choose either Google Charts or Highcharts, they will get the job done and if you run into something it's easier to google around for a solution.

Good luck! :beers:

jvanvugt commented 8 years ago

I have converted the charts I had already made to Google Charts (bbe4c0b042460ccc1d12b8dc3420b51151331630). I'll try to make sure they fit nicely on the page and maybe add a few more and then send a PR.

StevenReitsma commented 8 years ago

Awesome! Nice work :grin:

By the way, something I just thought of: instead of merging the master branch into your feature branch before doing the PR, can you rebase your feature branch on the master branch? That way we don't pollute the git log with merge messages.