This is the code for Chapter 1, Figure 18 from D3.js in Action showing different types of SVG elements.
Note that there is no D3 code or other JavaScript in this example, just vanilla SVG.