This is the code for Chapter 3, Figure 25 from D3.js in Action showing how to load external SVG data, such as this football icon, and use it as an icon in your dataviz as native SVG that can have its fill and stroke and other styles changed to suit the data.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js