jQuery SVG jQuery SVG Well written and documented. Many examples and demonstrations. Supports most of the SVG elements, allows easy access to the elements.
To convert to PDF: Batik (Java, open source) Inkscape (native binary, open source) Batik will give you more control. With Inkscape, you can use command line options (- IIRC export to PDF)