SVG Graphics Library For JavaScript: jsDraw2DX

jsDraw2DX is a standalone JavaScript library for creating any type of interactive graphics with SVG (and VML for old IE browsers).

Besides the ability to generate all basic shapes like line, rectangle, polygon, circle, ellipse, arc, etc., the library can draw curves, beziers (any degree), function plots, images and decorated text.


The library is object-oriented and its coordinate system + scaling can all be configured.

As it uses SVG, interactivity can be easily accomplished by manipulating the DOM.

P.S. jsDraw2DX is built by the creators of jsDraw2D which draws any shapes using JavaScript.