Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Constructing an Inline SVG Diagram using Javasctipt with JSON Reply To: Constructing an Inline SVG Diagram using Javasctipt with JSON

#240563
Shikkediel
Participant

The question’s quite broad… but yes, that is definitely possible. You’d be best of by using jQuery which has a bunch of built in methods to create HTML dynamically. Also for getting files such as the JSON data. The latest version I inspected should be able to handle SVGs better as well (it was a bit limited before). It can always be mixed with regular JS of course for where it might still be lacking.