As a learning exercise, I wrote a web app which shows some charts on your karma score.
I recommend just going to the website and trying it out, but here is a description of it as well if you're interested. To use it just enter your user id in the text box at the top and then press the go button. It will show that it is loading and after a while five charts will be shown.
- The first chart is a time series chart which shows you when you have posted a comment or discussion post. This chart allows you to zoom in on any desired area.
- The second chart is a time series chart which shows you when you have posted a main post. This chart allows you to zoom in on any desired area.
- The third chart shows your cumulative score. This chart allows you to zoom in on any desired area.
- The fourth chart shows proportions, i.e. how many comments/posts you have made and how many were positive, neutral or negative.
- The fifth and final chart shows information on your total positive and negative scores. This chart allows you to drill down and see where your points have originated from, i.e. from comments or discussion posts or main posts.
Please note that it may take a while to load. I am scraping all the information from your users page. It shouldn't take too long though. On my computer it takes less than a minute to load all the information on my karma score, but it did take around half an hour to load Eliezer_Yudkowsky's karma information. YMMV depending on what computer you are using. It is not your score that determines how long it will take, but the amount of comments and posts that you have made. I recommend using chrome as I haven't tested it in any other browsers.
The karma calculated by LessWrong also might be slightly different to what my web app shows. For example, my webapp shows Eliezers karma total score as 290096 and in LessWrong it is 290174. I am pretty sure that my code is right since I counted one example out and I do know of one bug in the LessWrong code that would effect the total score. There are also other things that LessWrong takes into account that I don't, e.g. karma awards and the troll tax. The difference shouldn't be too major, though, so it shouldn't be a big problem.
The website is hosted on github and the code can be found here.
TLDR: Try out the Less Wrong Karma Chart Website and let me know what you think or if you run into any issues.
Neat! And it seems to work on firefox. Some comments:
I think some users have simply been awarded karma, which your app wouldn't be able to catch. It also won't catch karma lost from paying the troll tax (replying to downvoted comments).
Pressing enter with the box focused didn't start the scraping. I had to click 'go'.
I'd put main and discussion upvotes on the same scale. (So the 'main' y-axis is just 10 times the 'discussion/comment' y-axis.) Right now they don't even have zero in the same place, which is really weird. Maybe also make the scale nonlinear.
It's hard to click-and-drag over the whole width or height of the chart.
I'm not sure how easy this would be, but I'd appreciate a distinction between meetups and non-meetups. (But I think some meetups are in main and some are in discussion.)
I'd like more context on posts/comments without having to visit them. For posts, the title; for comments, maybe the title of the attached post plus a few words (like in the sidebar). It might be too noisy to put that in the hover box; if so, perhaps if I click, the hover box expands and stays there until the next click, and includes an actual link?
You don't actually display total karma anywhere. I had to get it from positive-negative on the pie chart.
The pie chart doesn't have a slice for 'neutral'.
I'd also be interested in seeing cumulative karma as a time series, and 30-day karma as a time series. (This can't be calculated like I think LW calculates it - you'd need to do "karma on last 30 days of comments/posts" rather than "karma given in last 30 days")
This has been mostly negative, so I'll say again that this is really cool. Good job!
Fixed
I moved main into a separate graph. This should fix the issues.
I could change it so that you can only zoom in on the yaxis like it is here.
... (read more)