Damon Cortesi just shared a handy script for grabbing your tweets and compiling some stats about when you post to twitter and who you reply to.
His script generates a list of numbers and included a Numbers template to paste them into. Since I don’t have Numbers, I’ve modified his script to write a file that can be read by gnuplot, and wrote a basic gnuplot script to output an SVG file version of the stats.
While I was at it, I changed it so it no longer counts “@someone” separately from “@someone:”.
Both scripts are right here – gnuplot_twitterstats.tgz
It uses gnuplot 4.2, which you can get on OS X with macports using port install gnuplot +no_x11'. (Or it’s a pretty easy build on its own, see the gnuplot download page )
Here are my stats: Click here for a full-screen version.
Colin Barrett 1:34 pm on January 2, 2008 Permalink
You might also want to try the
+no_x11variant of gnuplot, by usingport install gnuplot +no_x11.I don’t want to build all of X on this machine just to check out my Twitter stats ;)
mike 2:03 pm on January 2, 2008 Permalink
Good point Colin. I hadn’t actually tried the macports – I apparently built gnuplot myself, but for the life of me I can’t remember why, and I wasn’t going to recommend it – but if the port tries to build X11, that’s even worse…
DCortesi . blog » Twitter Stats 7:14 pm on January 2, 2008 Permalink
[...] michael-mccracken.net » Twitter Stats in SVG using gnuploton 01.02.08 1:05 [...]
Uptonian Thoughts » Blog Archive » Twitter Stats 9:01 pm on April 23, 2008 Permalink
[...] to grab some Twitter statistics. A bunch of people modified his script in order to webify it, plot the results using gnuplot, and plot the results with the Google Charts [...]