Graphics Reference
In-Depth Information
})
// Outline with darker version of fill.
.style(
'stroke'
,
function
(d, i) {
return
countryColor(i, 0.33);
});
// ...
Assign a color to each country by circling a full 360 degrees around the color
wheel in equal steps, as shown in
Figure 12-8
.