Hour 19. Using JavaScript to Create Dynamic Content

Truly one of the most exciting aspects of SVG is its ability to easily create dynamic graphics, which are graphics whose content is somehow driven by external data. In fact, SVG stands apart from Flash in terms of its ability to accept a range of data sources. Data sources for SVG can be built using free, standards-based tools, such as JavaScript, or expensive commercial environments, such as Oracle application servers.

This hour will focus on how to create dynamic SVG content that can be driven by data sources. In the process, you will be able to see an example of how to use JavaScript to pass user-input values to an SVG file. By the end of the hour, you will have seen the use of dynamic graphics ...

Get Sams Teach Yourself SVG in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.