Sparklines.js
Sparklines.js is a Javascript library for generating line and bar sparklines. The project's documentation is available here, and anyone is encouraged to submit patches or new features at its github repository.
Here are two sample Sparklines generated by Sparklines.js: