Graphics Reference
In-Depth Information
Figure 8-9 shows the results of using the circular layout.
Adding Visual Attributes and D3 Scales
Each SVG object supports a variety of visual attributes, outlined in detail in
the SVG specification ( www.w3.org/TR/SVG11/Overview.html ) . Following
are a few quick improvements:
• Outlines around nodes
attr("stroke", "white")
• Line transparency
.attr("stroke-opacity", 0.25)
 
Search WWH ::




Custom Search