Graphics Reference
In-Depth Information
Now the visualization looks like Figure 8-10 .
Figure 8-10: Using visual attributes, you can show e-mail data with nodes
sized based on data.
Setting sizes based on data directly isn't a good idea. To get the line weight
right, the data was multiplied by 0.2, which probably will not be the right
value for a different data set. D3 provides built-in scales to transform data
attributes (based on whatever the domain of the raw data is in) into the
numerical values relevant to the range appropriate to the visualization (such
as sizes or even colors). You do this in three steps:
 
 
Search WWH ::




Custom Search