Graphics Reference
In-Depth Information
for name in nodemap:
node = nodemap[name]
formatter.writerow([node["nodeid"],node["count"],
])
The resulting link and node files can then be imported into graph software.
For example, Figure 8-1 shows this data set plotted in Gephi.
Figure 8-1: This is a graph of science fiction writers and their influences
extracted from Wikipedia data.
Transforming E-mail Data into a Graph
E-maildataisanexampleofadatasetthatrequiresmoreefforttotransform
into a graph. It may be possible to find point-and-click software that
automatically imports e-mail data (for example, NodeXL), but there may be
other requirements (such as data cleansing or anonymization), or different
metrics requiring you to create a simple program to process the data. The
coretaskistotransformdatathatoriginallymaylooklikethissamplee-mail
CSV file into a set of nodes and links:
 
 
Search WWH ::




Custom Search