block by emeeks 66bf886940f261425594

Ch. 1, Fig. 21 - D3.js in Action

Full Screen

This is the code for Chapter 1, Figure 21 from D3.js in Action showing how fill and path-closing work with SVG path elements.

Note that there is no D3 code or other JavaScript in this example, just vanilla SVG.

index.html