Thursday, May 21, 2009
Charting Wikipedia edits
Hans wanted to calculate a 7-day moving average of edits on any given article across a year. Here’s what it looks like for the Evolution page:
Here’s the data for the chart and source code. Command line invocation:
python 3-moving-average-edits.py Evolution -s 2008-04-25 -e 2009-05-01 -o evolution-1yr.csv
Pradeep Gowda — May 22, 2009 12:02:43 AM — # ↩
I see you are using google charts for presentation..
May I interest you in Open Flash charts 2 - teethgrinder.co.uk/open-flash-chart-2/and the python library i wrote for it - btbytes.github.com/pyofc2/ (funky tooltips anyone?)
There.. you have a comment :)
Kiran Jonnalagadda — May 22, 2009 10:16:37 AM — # ↩
Do you know what the folks at Wikirank.com/en use for charting? It’s not Flash. It uses the canvas tag and yet is dynamic, which none of the open source canvas-based libraries provide. It is also better behaved than any Flash widget I’ve seen. I’ve written to them but got no response.
Kiran Jonnalagadda — May 22, 2009 10:38:00 AM — # ↩
Ok, there is hope:
I’m going to give Flot a spin.
vaibhav — May 22, 2009 12:50:40 AM — # ↩
this is nice. could it be possible to also show the the number of participants(editors) for each data point? could this be a moving average too? just a thought
Pradeep Gowda — May 22, 2009 1:59:47 AM — # ↩
Uh oh! where did my comment about using OFC2 for charts disappear?
Kiran Jonnalagadda — May 22, 2009 10:05:54 AM — # ↩
Comments are held for moderation and shown to the commentator using a cookie identifier. Cookie must have expired. Must investigate. This is a temporary measure until I figure out my anti-spam setup.