Summary
This chapter has provided you with a rapid-fire introduction to two separate libraries for working with SVG, Snap.svg
and SVG.js. Doing the same, familiar tasks you previously tackled in vanilla JS in the two libraries has allowed you to see the differences between doing these SVG manipulations with vanilla JS and doing them with a library. You've also been able to compare the two libraries themselves across similar tasks.
Overall, you've learned a number of different topics with these two libraries, including how to get started, how to animate elements, how to handle events, and how to do custom data visualizations.
Now that we've learned about general purpose libraries, we're going to take a look at one final SVG library with a very specific purpose, D3.js. D3 is used for heavy duty data visualizations and is one of the most powerful tools out there for working with SVG.