[ Thanks to S.Ramaswamy for this link.
]
“Creating the SVG version of the chart is a lot like creating
the HTML version — and that’s a very good thing. As with HTML,
there are all sorts of construction techniques: you can write the
stuff by hand in a text editor, you can write scripts to automate
parts of that process, or you can use WYSIWYG editors to build it
interactively. Web developers already familiar with CSS styling
and scripted, template-driven HTML construction will find
themselves immediately productive with SVG.”
“The familiar idiom I’ve used so often to automate HTML
construction — templatize a chunk of markup, then loop through a
data structure populating instances of the template — works
equally well in SVG.”