clos book - http://en.wikipedia.org/wiki/The_Art_of_the_Metaobject_Proto...
apropos absolutely nothing, except that i finished reading it last night, the book (and manual for) ggplot2 is both a good introduction to that software (ggplot2 generates plots in r) and would serve as an excellent start for someone who wanted to implement the same in other languages. the whole thing is based on a domain model for plotting, which makes a huge amount of sense. after reading it, i am convinced every language will eventually have a similar package/dsl for plotting. i don't think even incanter (r in clojure, sort-of) has a version yet, so as far as i know there is no ggplot2 in any lisp. it would be a great project for someone...
this is (a review of) the domain model - http://www.jstatsoft.org/v17/b03/paper