block by emeeks a347eed5c50a7f1cf08a

Ch. 3, Fig. 25 - D3.js in Action

Full Screen

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.

index.html

worldcup.csv