Objective
Having learned about the basic development and components of d3.js, we began to apply its exciting point: gorgeous predefined graphics, the application of d3.js, we in its sample files based on a little change can be applied to our data visualization, d3.js the background of the operation has been predefined, we need only a small number of code and specification of data, we can make Very loud (please excuse my improper use of the word) effect.
The mechanics diagram (also called the Guide diagram, also has called the network extension complement diagram, anyway, through the exclusion of the structure of the relationship between the near and far, it is widely used in the research of social network and information transmission, which can intuitively reflect the channels, the intersection of the group and the group, and the contact strength of the members within the group.
This article implements the following effects (see effects in non-IE browsers):
The code is a bit long, but it's not complicated, and you can refer to the following code:
Summarize
The above is the entire content of this article, I hope the content of this article for everyone's study or work can bring certain help, if there is doubt you can have a message exchange.