The final example using Snap.svg shows how it can be used to do custom data visualizations. This will show many features of Snap.svg in action and will provide a final, full look at the library.
This example will once again generate a visualization showing the positive/negative delta of home runs hit per year versus the average home runs hit per year by David Ortiz of the Boston Red Sox per year over his Red Sox career.
Since we've already seen this visualization, in this section we'll only focus on the areas where Snap.svg is being used and not on every line of the script. If you need a refresher on the hows and whys of data visualization itself and how the metrics are calculated, please look back ...