The Grammar of Graphics

R’s ggplot2 has the most elegant graph API that I know. This article by Hadley Wickham himself is a great introduction to some of the ideas underlying The Grammar of Graphics that he implemented. I think it contains a lot of great ideas for API design.

http://vita.had.co.nz/papers/layered-grammar.html

Comments are closed.