This is the code for Chapter 11, Figure 6 from D3.js in Action showing mixed mode rendering where the country polygons are rendered in canvas and the triangles are rendered in SVG.
forked from emeeks bl.ock Ch. 11, Fig. 6 - D3.js in Action
https://d3js.org/d3.v3.min.js