Simple SVG sparklines

Jeremy Keith calls out for “a lightweight SVG solution for sparklines”, which seems like it would be a nice thing to have.

Like this, kinda:

Just grab and then use it in your pages* like this:

<embed src=",8,1,8,1,8" 
 width=100 height=15>

This works by having the SVG itself contain JavaScript which parses its own querystring. Therefore, you need to use <embed>, not <img>, because embedded script doesn’t run in SVGs used as images.