I'd like to make plate diagrams for bayesian networks, like this one for Latent Dirichlet Allocation:
The diagrams are pretty simple and really just need arrows, circles, rectangles, and greek letters. What would be the easiest graphing library in javascript to make these so that I can display them in a blog, such as an Octopress site? D3.js looks like it could do it, but i'm not familiar with the api and it looks like each diagram would require quite a bit of work.
Thanks in advance!