September 2016
Beginner to intermediate
531 pages
12h 55m
English
In Chapter 2, JavaScript and HTML5 for Visualizations, we looked at the advantages offered by building our visualizations using scalable vector graphics. It should, however, have been clear that building SVGs by manipulating the underlying XML is a frustrating and time consuming exercise. Although there are countless XML manipulation tools, it would be nice to take advantage of the power of an API which is specifically designed for building SVGs instead of a more general language.
There are a number of JavaScript libraries that have been created for the manipulation of SVGs. svg.js (http://www.svgjs.com/) and Raphaël (http://raphaeljs.com/), both deserve mentions as being excellent tools for drawing. The ...
Read now
Unlock full access